Plugin Directory

Changeset 2524398


Ignore:
Timestamp:
05/01/2021 12:42:00 AM (5 years ago)
Author:
richaber
Message:

Tagging 1.8.0

Location:
wp-search-with-algolia
Files:
10 added
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-search-with-algolia/tags/1.8.0/README.txt

    r2465306 r2524398  
    1 
    21=== WP Search with Algolia ===
    32Contributors: WebDevStudios, williamsba1, gregrickaby, tw2113, richaber, mrasharirfan
    43Tags: Search, Algolia, Autocomplete, instant-search, relevant search, search highlight, faceted search, find-as-you-type search, suggest, search by category, ajax search, better search, custom search
    54Requires at least: 5.0
    6 Tested up to: 5.5
     5Tested up to: 5.7
    76Requires PHP: 7.2
    8 Stable tag: 1.7.0
     7Stable tag: 1.8.0
    98License: GNU General Public License v2.0, MIT License
    109
     
    2726* [WebDevStudios](https://webdevstudios.com)
    2827* [Algolia](https://algolia.com)
    29 * [Documentation](https://community.algolia.com/wordpress/configuration.html)
     28* [Documentation](https://github.com/WebDevStudios/wp-search-with-algolia/wiki)
    3029* [Support](https://github.com/WebDevStudios/wp-search-with-algolia/issues)
    3130
     
    42413. **Activate** WP Search with Algolia from your Plugins page
    43424. **Click** on the new menu item "Algolia Search" and enter your API keys
    44 5. **Read** the step by step [configuration guide](https://community.algolia.com/wordpress/configuration.html)
     435. **Read** the step by step [configuration guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Getting-Started)
    4544
    4645== Frequently Asked Questions ==
     
    7271* Some payment gateways require fsockopen support (for IPN access)
    7372
    74 Visit the [Search by Algolia server requirements documentation](https://community.algolia.com/wordpress/installation.html) for a detailed list of server requirements.
     73Visit the [WP Search with Algolia server requirements documentation](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/WP-Search-with-Algolia-plugin-Installation) for a detailed list of server requirements.
    7574
    76 = Where can I find Algolia documentation and user guides? =
     75= Where can I find WP Search with Algolia documentation and user guides? =
    7776
    78 - For help setting up and configuring Search by Algolia please refer to the [user guide](https://community.algolia.com/wordpress/installation.html).
    79 - For extending or theming the Autocomplete dropdown, see the [Autocomplete Customization guide](https://community.algolia.com/wordpress/customize-autocomplete.html).
    80 - For extending or theming the Instant Search results page, see the [Search Page Customization guide](https://community.algolia.com/wordpress/customize-search-page.html).
     77- For help setting up and configuring WP Search with Algolia please refer to the [user guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/WP-Search-with-Algolia-plugin-Installation).
     78- For extending or theming the Autocomplete dropdown, see the [Autocomplete Customization guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Customize-the-Autocomplete-dropdown).
     79- For extending or theming the Instant Search results page, see the [Search Page Customization guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Customize-your-search-page).
    8180
    8281= Will it work with my theme? =
    8382
    84 Yes. This plugin will work with any theme, but the Instant Search results page may require some styling to make it match nicely. See the [Search Page Customization](https://community.algolia.com/wordpress/customize-search-page.html).
     83Yes. This plugin should work with most themes that do not override the default WordPress search behavior. Instant Search results page may require some styling to make it match nicely. See the [Search Page Customization](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Customize-your-search-page).
    8584
    8685= Where can I report bugs, request features, or contribute to the project? =
     
    9190
    9291Algolia offers its Search as a Service provider on a incremental payment program, including a free Community Plan which includes 10,000 records & 50,000 operations per month. Beyond that, [plans](https://www.algolia.com/pricing/) start at $29/month.
    93 
    94 *Note: there isn't a direct correlation between the number of posts in WordPress and the number of records in Algolia. Also note that we only offer support starting from the PRO plan.On average, you can expect to have about 10 times more records than you have posts, though this is not a golden rule and you could end up with more records.*
    9592
    9693= About WebDevStudios =
     
    109106
    110107Follow along with the changelog on [Github](https://github.com/WebDevStudios/wp-search-with-algolia/releases).
     108
     109= 1.8.0 =
     110* Focus on template versioning and update messaging
     111* Add Algolia_Template_Utils class
     112* Deprecate Algolia_Template_Loader::locate_template method
     113* Deprecate Algolia_Plugin::get_templates_path method
     114* Deprecate algolia_templates_path filter
     115* Add Algolia_Update_Messages class
     116* Add Algolia_Admin_Template_Notices class
     117* Add Algolia_Version_Utils class
    111118
    112119= 1.7.0 =
  • wp-search-with-algolia/tags/1.8.0/algolia.php

    r2465306 r2524398  
    44 * Plugin URI:        https://github.com/WebDevStudios/wp-search-with-algolia
    55 * Description:       Integrate the powerful Algolia search service with WordPress
    6  * Version:           1.7.0
     6 * Version:           1.8.0
    77 * Requires at least: 5.0
    88 * Requires PHP:      7.2
     
    2727
    2828// The Algolia Search plugin version.
    29 define( 'ALGOLIA_VERSION', '1.7.0' );
     29define( 'ALGOLIA_VERSION', '1.8.0' );
    3030
    3131// The minmum required PHP version.
  • wp-search-with-algolia/tags/1.8.0/classmap.php

    r2418143 r2524398  
    4545require_once ALGOLIA_PATH . 'includes/watchers/class-algolia-user-changes-watcher.php';
    4646
     47require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-template-utils.php';
     48require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-version-utils.php';
     49require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-update-messages.php';
     50
    4751if ( is_admin() ) {
    4852    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin.php';
     
    5054    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-native-search.php';
    5155    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-settings.php';
     56    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-template-notices.php';
    5257}
  • wp-search-with-algolia/tags/1.8.0/includes/admin/class-algolia-admin.php

    r2350155 r2524398  
    5252            }
    5353        }
     54
     55        new Algolia_Admin_Template_Notices();
    5456
    5557        new Algolia_Admin_Page_Settings( $plugin );
  • wp-search-with-algolia/tags/1.8.0/includes/class-algolia-plugin.php

    r2465306 r2524398  
    8989
    9090    /**
     91     * Instance of Algolia_Update_Messages.
     92     *
     93     * @author WebDevStudios <contact@webdevstudios.com>
     94     * @since  1.8.0
     95     *
     96     * @var Algolia_Update_Messages
     97     */
     98    private $update_messages;
     99
     100    /**
    91101     * Instance of Algolia_Template_Loader.
    92102     *
     
    130140     */
    131141    public function __construct() {
    132         $this->settings      = new Algolia_Settings();
    133         $this->api           = new Algolia_API( $this->settings );
    134         $this->compatibility = new Algolia_Compatibility();
    135         $this->styles        = new Algolia_Styles();
    136         $this->scripts       = new Algolia_Scripts();
     142        $this->settings        = new Algolia_Settings();
     143        $this->api             = new Algolia_API( $this->settings );
     144        $this->compatibility   = new Algolia_Compatibility();
     145        $this->styles          = new Algolia_Styles();
     146        $this->scripts         = new Algolia_Scripts();
     147        $this->update_messages = new Algolia_Update_Messages();
     148
    137149        add_action( 'init', array( $this, 'load' ), 20 );
    138150    }
     
    395407     * Get the templates path.
    396408     *
    397      * @author WebDevStudios <contact@webdevstudios.com>
    398      * @since  1.0.0
     409     * Somewhat misleading method name.
     410     * Actually returns a path segment (directory name) with trailing slash.
     411     *
     412     * @author     WebDevStudios <contact@webdevstudios.com>
     413     * @since      1.0.0
     414     * @deprecated 1.8.0 Use Algolia_Template_Utils::get_filtered_theme_templates_dirname()
     415     * @see        Algolia_Template_Utils::get_filtered_theme_templates_dirname()
    399416     *
    400417     * @return string
    401418     */
    402419    public function get_templates_path() {
    403         return (string) apply_filters( 'algolia_templates_path', 'algolia/' );
     420        _deprecated_function(
     421            __METHOD__,
     422            '1.8.0',
     423            'Algolia_Template_Utils::get_filtered_theme_templates_dirname()'
     424        );
     425        return (string) Algolia_Template_Utils::get_filtered_theme_templates_dirname();
    404426    }
    405427
  • wp-search-with-algolia/tags/1.8.0/includes/class-algolia-template-loader.php

    r2395495 r2524398  
    157157     * Handles template usage so that we can use our own templates instead of the themes.
    158158     *
    159      * Templates are in the 'templates' folder. algolia looks for theme.
    160      * overrides in /your-theme/algolia/ by default.
     159     * Plugin templates are located in the 'templates' directory.
     160     * Customized templates are in the theme's 'algolia' directory.
    161161     *
    162162     * @author  WebDevStudios <contact@webdevstudios.com>
     
    199199        );
    200200
    201         return $this->locate_template( 'instantsearch.php' );
     201        return Algolia_Template_Utils::locate_template( 'instantsearch.php' );
    202202    }
    203203
     
    209209     */
    210210    public function load_autocomplete_template() {
    211         require $this->locate_template( 'autocomplete.php' );
     211        require Algolia_Template_Utils::locate_template( 'autocomplete.php' );
    212212    }
    213213
     
    215215     * Locate a template.
    216216     *
    217      * @author  WebDevStudios <contact@webdevstudios.com>
    218      * @since   1.0.0
     217     * @author     WebDevStudios <contact@webdevstudios.com>
     218     * @since      1.0.0
     219     * @deprecated 1.8.0 Use Algolia_Template_Utils::locate_template()
     220     * @see        Algolia_Template_Utils::locate_template()
    219221     *
    220222     * @param string $file The template file.
     
    223225     */
    224226    private function locate_template( $file ) {
    225         $locations[] = $file;
    226 
    227         $templates_path = $this->plugin->get_templates_path();
    228         if ( 'algolia/' !== $templates_path ) {
    229             $locations[] = 'algolia/' . $file;
    230         }
    231 
    232         $locations[] = $templates_path . $file;
    233 
    234         $locations = (array) apply_filters( 'algolia_template_locations', $locations, $file );
    235 
    236         $template = locate_template( array_unique( $locations ) );
    237 
    238         $default_template = (string) apply_filters( 'algolia_default_template', $this->plugin->get_path() . '/templates/' . $file, $file );
    239 
    240         return $template ? $template : $default_template;
     227        _deprecated_function(
     228            __METHOD__,
     229            '1.8.0',
     230            'Algolia_Template_Utils::locate_template()'
     231        );
     232        return Algolia_Template_Utils::locate_template( $file );
    241233    }
    242234}
  • wp-search-with-algolia/tags/1.8.0/languages/wp-search-with-algolia.pot

    r2286077 r2524398  
    1 #, fuzzy
     1# Copyright (C) 2021 WebDevStudios
     2# This file is distributed under the same license as the WP Search with Algolia plugin.
    23msgid ""
    34msgstr ""
    4 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    5 "Project-Id-Version: WP Search with Algolia\n"
    6 "POT-Creation-Date: 2020-04-17 19:11-0500\n"
    7 "PO-Revision-Date: 2019-08-30 22:52-0500\n"
    8 "Last-Translator: Richard Aber <richard.aber@webdevstudios.com>\n"
    9 "Language-Team: Richard Aber <richard.aber@webdevstudios.com>\n"
     5"Project-Id-Version: WP Search with Algolia 1.8.0\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-search-with-algolia\n"
     7"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     8"Language-Team: LANGUAGE <LL@li.org>\n"
    109"MIME-Version: 1.0\n"
    1110"Content-Type: text/plain; charset=UTF-8\n"
    1211"Content-Transfer-Encoding: 8bit\n"
    13 "X-Generator: Poedit 2.3\n"
    14 "X-Poedit-Basepath: ..\n"
    15 "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    16 "X-Poedit-WPHeader: algolia.php\n"
    17 "X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    21 "X-Poedit-SearchPath-0: .\n"
    22 "X-Poedit-SearchPathExcluded-0: *.min.js\n"
     12"POT-Creation-Date: 2021-05-01T00:02:34+00:00\n"
     13"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     14"X-Generator: WP-CLI 2.4.0\n"
     15"X-Domain: wp-search-with-algolia\n"
     16
     17#. Plugin Name of the plugin
     18msgid "WP Search with Algolia"
     19msgstr ""
     20
     21#. Plugin URI of the plugin
     22msgid "https://github.com/WebDevStudios/wp-search-with-algolia"
     23msgstr ""
     24
     25#. Description of the plugin
     26msgid "Integrate the powerful Algolia search service with WordPress"
     27msgstr ""
     28
     29#. Author of the plugin
     30msgid "WebDevStudios"
     31msgstr ""
     32
     33#. Author URI of the plugin
     34msgid "https://webdevstudios.com"
     35msgstr ""
    2336
    2437#. translators: placeholder 1 is minimum required PHP version, placeholder 2 is installed PHP version.
    25 #: algolia.php:77
    26 #, php-format
     38#: algolia.php:88
    2739msgid "Algolia plugin requires PHP %1$s or higher. You’re still on %2$s."
    2840msgstr ""
    2941
    3042#. translators: placeholder 1 is minimum required WordPress version, placeholder 2 is installed WordPress version.
    31 #: algolia.php:86
    32 #, php-format
    33 msgid ""
    34 "Algolia plugin requires at least WordPress in version %1$s, You are on %2$s."
    35 msgstr ""
    36 
    37 #: includes/admin/class-algolia-admin-page-autocomplete.php:53
    38 #: includes/admin/class-algolia-admin-page-settings.php:63
     43#: algolia.php:97
     44msgid "Algolia plugin requires at least WordPress in version %1$s, You are on %2$s."
     45msgstr ""
     46
     47#: includes/admin/class-algolia-admin-page-autocomplete.php:106
     48#: includes/admin/class-algolia-admin-page-settings.php:119
    3949msgid "Algolia Search"
    4050msgstr ""
    4151
    42 #: includes/admin/class-algolia-admin-page-autocomplete.php:61
    43 #: includes/admin/class-algolia-admin-page-autocomplete.php:62
     52#: includes/admin/class-algolia-admin-page-autocomplete.php:114
     53#: includes/admin/class-algolia-admin-page-autocomplete.php:115
    4454msgid "Autocomplete"
    4555msgstr ""
    4656
    47 #: includes/admin/class-algolia-admin-page-autocomplete.php:79
     57#: includes/admin/class-algolia-admin-page-autocomplete.php:138
    4858msgid "Enable autocomplete"
    4959msgstr ""
    5060
    51 #: includes/admin/class-algolia-admin-page-autocomplete.php:87
     61#: includes/admin/class-algolia-admin-page-autocomplete.php:146
    5262msgid "Configuration"
    5363msgstr ""
    5464
    55 #: includes/admin/class-algolia-admin-page-autocomplete.php:120
    56 msgid ""
    57 "Autocomplete configuration has been saved. Make sure to hit the \"re-index\" "
    58 "buttons of the different indices that are not indexed yet."
     65#: includes/admin/class-algolia-admin-page-autocomplete.php:187
     66msgid "Autocomplete configuration has been saved. Make sure to hit the \"re-index\" buttons of the different indices that are not indexed yet."
    5967msgstr ""
    6068
    6169#. translators: placeholder contains the URL to the autocomplete configuration page.
    62 #: includes/admin/class-algolia-admin-page-autocomplete.php:159
    63 #, php-format
    64 msgid ""
    65 "Please select one or multiple indices on the <a href=\"%s\">Algolia: "
    66 "Autocomplete configuration page</a>."
    67 msgstr ""
    68 
    69 #: includes/admin/class-algolia-admin-page-autocomplete.php:161
    70 msgid ""
    71 "You have enabled the Algolia Autocomplete feature but did not choose any "
    72 "index to search in."
    73 msgstr ""
    74 
    75 #: includes/admin/class-algolia-admin-page-autocomplete.php:171
    76 msgid ""
    77 "The autocomplete feature adds a find-as-you-type dropdown menu to your "
    78 "search bar(s)."
    79 msgstr ""
    80 
    81 #: includes/admin/class-algolia-admin-page-native-search.php:44
    82 #: includes/admin/class-algolia-admin-page-native-search.php:45
     70#: includes/admin/class-algolia-admin-page-autocomplete.php:250
     71msgid "Please select one or multiple indices on the <a href=\"%s\">Algolia: Autocomplete configuration page</a>."
     72msgstr ""
     73
     74#: includes/admin/class-algolia-admin-page-autocomplete.php:252
     75msgid "You have enabled the Algolia Autocomplete feature but did not choose any index to search in."
     76msgstr ""
     77
     78#: includes/admin/class-algolia-admin-page-autocomplete.php:265
     79msgid "The autocomplete feature adds a find-as-you-type dropdown menu to your search bar(s)."
     80msgstr ""
     81
     82#: includes/admin/class-algolia-admin-page-native-search.php:93
     83#: includes/admin/class-algolia-admin-page-native-search.php:94
    8384msgid "Search Page"
    8485msgstr ""
    8586
    86 #: includes/admin/class-algolia-admin-page-native-search.php:62
     87#: includes/admin/class-algolia-admin-page-native-search.php:117
    8788msgid "Search results"
    8889msgstr ""
    8990
    90 #: includes/admin/class-algolia-admin-page-native-search.php:88
     91#: includes/admin/class-algolia-admin-page-native-search.php:154
    9192msgid "WordPress search is now based on Algolia!"
    9293msgstr ""
    9394
    94 #: includes/admin/class-algolia-admin-page-native-search.php:95
     95#: includes/admin/class-algolia-admin-page-native-search.php:161
    9596msgid "WordPress search is now based on Algolia instantsearch.js!"
    9697msgstr ""
    9798
    98 #: includes/admin/class-algolia-admin-page-native-search.php:103
    99 msgid ""
    100 "You chose to keep the WordPress native search instead of Algolia. If you are "
    101 "using the autocomplete feature of the plugin we highly recommend you turn "
    102 "Algolia search on instead of the WordPress native search."
     99#: includes/admin/class-algolia-admin-page-native-search.php:169
     100msgid "You chose to keep the WordPress native search instead of Algolia. If you are using the autocomplete feature of the plugin we highly recommend you turn Algolia search on instead of the WordPress native search."
    103101msgstr ""
    104102
    105103#. translators: placeholder contains the link to the indexing page.
    106 #: includes/admin/class-algolia-admin-page-native-search.php:139
    107 #, php-format
    108 msgid ""
    109 "Searchable posts index needs to be checked on the <a href=\"%s\">Algolia: "
    110 "Indexing page</a> for the search results to be powered by Algolia."
    111 msgstr ""
    112 
    113 #: includes/admin/class-algolia-admin-page-native-search.php:150
    114 msgid ""
    115 "By enabling this plugin to override the native WordPress search, your search "
    116 "results will be powered by Algolia's typo-tolerant & relevant search "
    117 "algorithms."
    118 msgstr ""
    119 
    120 #: includes/admin/class-algolia-admin-page-native-search.php:162
    121 msgid ""
    122 "You have no index containing only posts yet. Please index some content on "
    123 "the `Indexing` page."
    124 msgstr ""
    125 
    126 #: includes/admin/class-algolia-admin-page-settings.php:52
    127 #: includes/admin/class-algolia-admin-page-settings.php:73
    128 #: includes/admin/class-algolia-admin-page-settings.php:74
     104#: includes/admin/class-algolia-admin-page-native-search.php:213
     105msgid "Searchable posts index needs to be checked on the <a href=\"%s\">Algolia: Indexing page</a> for the search results to be powered by Algolia."
     106msgstr ""
     107
     108#: includes/admin/class-algolia-admin-page-native-search.php:227
     109msgid "By enabling this plugin to override the native WordPress search, your search results will be powered by Algolia's typo-tolerant & relevant search algorithms."
     110msgstr ""
     111
     112#: includes/admin/class-algolia-admin-page-native-search.php:239
     113msgid "You have no index containing only posts yet. Please index some content on the `Indexing` page."
     114msgstr ""
     115
     116#: includes/admin/class-algolia-admin-page-settings.php:100
     117#: includes/admin/class-algolia-admin-page-settings.php:129
     118#: includes/admin/class-algolia-admin-page-settings.php:130
    129119msgid "Settings"
    130120msgstr ""
    131121
    132 #: includes/admin/class-algolia-admin-page-settings.php:91
     122#: includes/admin/class-algolia-admin-page-settings.php:153
    133123msgid "Application ID"
    134124msgstr ""
    135125
    136 #: includes/admin/class-algolia-admin-page-settings.php:99
     126#: includes/admin/class-algolia-admin-page-settings.php:161
    137127msgid "Search-only API key"
    138128msgstr ""
    139129
    140 #: includes/admin/class-algolia-admin-page-settings.php:107
     130#: includes/admin/class-algolia-admin-page-settings.php:169
    141131msgid "Admin API key"
    142132msgstr ""
    143133
    144 #: includes/admin/class-algolia-admin-page-settings.php:115
     134#: includes/admin/class-algolia-admin-page-settings.php:177
    145135msgid "Index name prefix"
    146136msgstr ""
    147137
    148 #: includes/admin/class-algolia-admin-page-settings.php:123
     138#: includes/admin/class-algolia-admin-page-settings.php:185
    149139msgid "Remove Algolia powered by logo"
    150140msgstr ""
    151141
    152 #: includes/admin/class-algolia-admin-page-settings.php:143
     142#: includes/admin/class-algolia-admin-page-settings.php:211
    153143msgid "Your Algolia Application ID."
    154144msgstr ""
    155145
    156 #: includes/admin/class-algolia-admin-page-settings.php:154
     146#: includes/admin/class-algolia-admin-page-settings.php:228
    157147msgid "Your Algolia Search-only API key (public)."
    158148msgstr ""
    159149
    160 #: includes/admin/class-algolia-admin-page-settings.php:164
     150#: includes/admin/class-algolia-admin-page-settings.php:244
    161151msgid "Your Algolia ADMIN API key (kept private)."
    162152msgstr ""
    163153
    164 #: includes/admin/class-algolia-admin-page-settings.php:174
     154#: includes/admin/class-algolia-admin-page-settings.php:260
    165155msgid "This prefix will be prepended to your index names."
    166156msgstr ""
    167157
    168 #: includes/admin/class-algolia-admin-page-settings.php:185
    169 msgid ""
    170 "This will remove the Algolia logo from the autocomplete and the search page. "
    171 "We require that you keep the Algolia logo if you are using a free plan."
    172 msgstr ""
    173 
    174 #: includes/admin/class-algolia-admin-page-settings.php:198
     158#: includes/admin/class-algolia-admin-page-settings.php:277
     159msgid "This will remove the Algolia logo from the autocomplete and the search page. We require that you keep the Algolia logo if you are using a free plan."
     160msgstr ""
     161
     162#: includes/admin/class-algolia-admin-page-settings.php:300
    175163msgid "Application ID should not be empty."
    176164msgstr ""
    177165
    178 #: includes/admin/class-algolia-admin-page-settings.php:216
     166#: includes/admin/class-algolia-admin-page-settings.php:328
    179167msgid "Search-only API key should not be empty."
    180168msgstr ""
    181169
    182 #: includes/admin/class-algolia-admin-page-settings.php:233
     170#: includes/admin/class-algolia-admin-page-settings.php:355
    183171msgid "API key should not be empty"
    184172msgstr ""
    185173
    186 #: includes/admin/class-algolia-admin-page-settings.php:260
    187 msgid ""
    188 "We were unable to authenticate you against the Algolia servers with the "
    189 "provided information. Please ensure that you used an the Admin API key and a "
    190 "valid Application ID."
    191 msgstr ""
    192 
    193 #: includes/admin/class-algolia-admin-page-settings.php:271
    194 msgid ""
    195 "It looks like your search API key is wrong. Ensure that the key you entered "
    196 "has only the search capability and nothing else. Also ensure that the key "
    197 "has no limited time validity."
    198 msgstr ""
    199 
    200 #: includes/admin/class-algolia-admin-page-settings.php:280
    201 msgid ""
    202 "We succesfully managed to connect to the Algolia servers with the provided "
    203 "information. Your search API key has also been checked and is OK."
    204 msgstr ""
    205 
    206 #: includes/admin/class-algolia-admin-page-settings.php:318
    207 msgid ""
    208 "Indices prefix can only contain alphanumeric characters and underscores."
    209 msgstr ""
    210 
    211 #: includes/admin/class-algolia-admin-page-settings.php:347
    212 msgid ""
    213 "Configure your Algolia account credentials. You can find them in the \"API "
    214 "Keys\" section of your Algolia dashboard."
    215 msgstr ""
    216 
    217 #: includes/admin/class-algolia-admin-page-settings.php:348
    218 msgid ""
    219 "Once you provide your Algolia Application ID and API key, this plugin will "
    220 "be able to securely communicate with Algolia servers."
    221 msgstr ""
    222 
    223 #: includes/admin/class-algolia-admin-page-settings.php:348
    224 msgid ""
    225 "We ensure your information is correct by testing them against the Algolia "
    226 "servers upon save."
     174#: includes/admin/class-algolia-admin-page-settings.php:384
     175msgid "We were unable to authenticate you against the Algolia servers with the provided information. Please ensure that you used a valid Application ID and Admin API key."
     176msgstr ""
     177
     178#: includes/admin/class-algolia-admin-page-settings.php:395
     179msgid "It looks like your search API key is wrong. Ensure that the key you entered has only the search capability and nothing else. Also ensure that the key has no limited time validity."
     180msgstr ""
     181
     182#: includes/admin/class-algolia-admin-page-settings.php:405
     183msgid "We succesfully managed to connect to the Algolia servers with the provided information. Your search API key has also been checked and is OK."
     184msgstr ""
     185
     186#: includes/admin/class-algolia-admin-page-settings.php:453
     187msgid "Indices prefix can only contain alphanumeric characters and underscores."
     188msgstr ""
     189
     190#: includes/admin/class-algolia-admin-page-settings.php:502
     191msgid "Configure your Algolia account credentials. You can find them in the \"API Keys\" section of your Algolia dashboard."
     192msgstr ""
     193
     194#: includes/admin/class-algolia-admin-page-settings.php:503
     195msgid "Once you provide your Algolia Application ID and API key, this plugin will be able to securely communicate with Algolia servers."
     196msgstr ""
     197
     198#: includes/admin/class-algolia-admin-page-settings.php:503
     199msgid "We ensure your information is correct by testing them against the Algolia servers upon save."
    227200msgstr ""
    228201
    229202#. translators: the placeholder contains the URL to Algolia's website.
    230 #: includes/admin/class-algolia-admin-page-settings.php:350
    231 #, php-format
    232 msgid ""
    233 "No Algolia account yet? <a href=\"%s\">Follow this link</a> to create one "
    234 "for free in a couple of minutes!"
    235 msgstr ""
    236 
    237 #: includes/admin/class-algolia-admin.php:57
    238 msgid ""
    239 "Algolia Search requires the \"mbstring\" PHP extension to be enabled. Please "
    240 "contact your hosting provider."
    241 msgstr ""
    242 
    243 #: includes/admin/class-algolia-admin.php:61
    244 msgid ""
    245 "Algolia needs \"mbregex\" NOT to be disabled. Please contact your hosting "
    246 "provider."
    247 msgstr ""
    248 
    249 #: includes/admin/class-algolia-admin.php:67
    250 msgid ""
    251 "Algolia Search requires the \"cURL\" PHP extension to be enabled. Please "
    252 "contact your hosting provider."
     203#: includes/admin/class-algolia-admin-page-settings.php:505
     204msgid "No Algolia account yet? <a href=\"%s\">Follow this link</a> to create one for free in a couple of minutes!"
     205msgstr ""
     206
     207#. translators: placeholder 1 is template filename, placeholder 2 is custom template version, placeholder 3 is core template version.
     208#: includes/admin/class-algolia-admin-template-notices.php:64
     209msgid "Your custom WP Search With Algolia template file, %1$s, version %2$s is out of date. The core version is %3$s"
     210msgstr ""
     211
     212#: includes/admin/class-algolia-admin-template-notices.php:69
     213msgid "unknown"
     214msgstr ""
     215
     216#: includes/admin/class-algolia-admin.php:113
     217msgid "Algolia Search requires the \"mbstring\" PHP extension to be enabled. Please contact your hosting provider."
     218msgstr ""
     219
     220#: includes/admin/class-algolia-admin.php:117
     221msgid "Algolia needs \"mbregex\" NOT to be disabled. Please contact your hosting provider."
     222msgstr ""
     223
     224#: includes/admin/class-algolia-admin.php:123
     225msgid "Algolia Search requires the \"cURL\" PHP extension to be enabled. Please contact your hosting provider."
    253226msgstr ""
    254227
    255228#. translators: placeholder contains the URL to the caching plugin's config page.
    256 #: includes/admin/class-algolia-admin.php:90
    257 #, php-format
    258 msgid ""
    259 "In order for <strong>database caching</strong> to work with Algolia you must "
    260 "add <code>algolia_</code> to the \"Ignored Query Stems\" option in W3 Total "
    261 "Cache settings <a href=\"%s\">here</a>."
    262 msgstr ""
    263 
    264 #: includes/admin/class-algolia-admin.php:124
    265 #, php-format
    266 msgid ""
    267 "For Algolia search to work properly, you need to index: <strong>%1$s</strong>"
    268 msgstr ""
    269 
    270 #: includes/admin/class-algolia-admin.php:133
     229#: includes/admin/class-algolia-admin.php:151
     230msgid "In order for <strong>database caching</strong> to work with Algolia you must add <code>algolia_</code> to the \"Ignored Query Stems\" option in W3 Total Cache settings <a href=\"%s\">here</a>."
     231msgstr ""
     232
     233#. Translators: placeholder is an Algolia index name.
     234#: includes/admin/class-algolia-admin.php:188
     235msgid "For Algolia search to work properly, you need to index: <strong>%1$s</strong>"
     236msgstr ""
     237
     238#: includes/admin/class-algolia-admin.php:197
    271239msgid "Index now"
    272240msgstr ""
    273241
    274 #: includes/admin/partials/form-override-search-option.php:5
     242#: includes/admin/partials/form-override-search-option.php:17
    275243msgid "Do not use Algolia"
    276244msgstr ""
    277245
    278 #: includes/admin/partials/form-override-search-option.php:11
    279 msgid ""
    280 "Do not use Algolia for searching at all.<br/>This is only a valid option if "
    281 "you wish to search on your content from another website."
    282 msgstr ""
    283 
    284 #: includes/admin/partials/form-override-search-option.php:24
     246#: includes/admin/partials/form-override-search-option.php:22
     247msgid "Do not use Algolia for searching at all.<br/>This is only a valid option if you wish to search on your content from another website."
     248msgstr ""
     249
     250#: includes/admin/partials/form-override-search-option.php:36
    285251msgid "Use Algolia in the backend"
    286252msgstr ""
    287253
    288 #: includes/admin/partials/form-override-search-option.php:30
    289 msgid ""
    290 "With this option WordPress search will be powered by Algolia behind the "
    291 "scenes.<br/>This will allow your search results to be typo tolerant.<br/"
    292 "><b>This option does not support filtering and displaying instant search "
    293 "results but has the advantage to play nicely with any theme.</b>"
    294 msgstr ""
    295 
    296 #: includes/admin/partials/form-override-search-option.php:44
     254#: includes/admin/partials/form-override-search-option.php:41
     255msgid "With this option WordPress search will be powered by Algolia behind the scenes.<br/>This will allow your search results to be typo tolerant.<br/><b>This option does not support filtering and displaying instant search results but has the advantage to play nicely with any theme.</b>"
     256msgstr ""
     257
     258#: includes/admin/partials/form-override-search-option.php:56
    297259msgid "Use Algolia with Instantsearch.js"
    298260msgstr ""
    299261
    300 #: includes/admin/partials/form-override-search-option.php:50
    301 msgid ""
    302 "This will replace the search page with an instant search experience powered "
    303 "by Algolia.<br/>By default you will be able to filter by post type, "
    304 "categories, tags and authors.<br/>Please note that the plugin is shipped "
    305 "with some sensible default styling rules<br/>but it could require some CSS "
    306 "adjustments to provide an optimal search experience."
    307 msgstr ""
    308 
    309 #: includes/admin/partials/page-autocomplete-config.php:5
     262#: includes/admin/partials/form-override-search-option.php:61
     263msgid "This will replace the search page with an instant search experience powered by Algolia.<br/>By default you will be able to filter by post type, categories, tags and authors.<br/>Please note that the plugin is shipped with some sensible default styling rules<br/>but it could require some CSS adjustments to provide an optimal search experience."
     264msgstr ""
     265
     266#: includes/admin/partials/page-autocomplete-config.php:17
    310267msgid "Enable"
    311268msgstr ""
    312269
    313 #: includes/admin/partials/page-autocomplete-config.php:6
     270#: includes/admin/partials/page-autocomplete-config.php:18
    314271msgid "Index"
    315272msgstr ""
    316273
    317 #: includes/admin/partials/page-autocomplete-config.php:7
     274#: includes/admin/partials/page-autocomplete-config.php:19
    318275msgid "Label"
    319276msgstr ""
    320277
    321 #: includes/admin/partials/page-autocomplete-config.php:8
     278#: includes/admin/partials/page-autocomplete-config.php:20
    322279msgid "Max. Suggestions"
    323280msgstr ""
    324281
    325 #: includes/admin/partials/page-autocomplete-config.php:9
     282#: includes/admin/partials/page-autocomplete-config.php:21
    326283msgid "Actions"
    327284msgstr ""
    328285
    329286#. translators: placeholder is the name of an Algolia search index.
    330 #: includes/admin/partials/page-autocomplete-config.php:28
    331 #, php-format
     287#: includes/admin/partials/page-autocomplete-config.php:40
    332288msgid "Index name: %s"
    333289msgstr ""
    334290
    335 #: includes/admin/partials/page-autocomplete-config.php:41
     291#: includes/admin/partials/page-autocomplete-config.php:53
    336292msgid "Re-index"
    337293msgstr ""
    338294
    339 #: includes/admin/partials/page-autocomplete-config.php:42
    340 #: includes/admin/partials/page-search.php:5
     295#: includes/admin/partials/page-autocomplete-config.php:54
     296#: includes/admin/partials/page-search.php:20
    341297msgid "Push Settings"
    342298msgstr ""
    343299
    344 #: includes/admin/partials/page-autocomplete-config.php:49
     300#: includes/admin/partials/page-autocomplete-config.php:61
    345301msgid "Configure here the indices you want to display in the dropdown menu."
    346302msgstr ""
    347303
    348 #: includes/admin/partials/page-autocomplete-config.php:51
    349 msgid ""
    350 "Use the `Max. Suggestions` column to configure the number of entries that "
    351 "will be displayed by section."
    352 msgstr ""
    353 
    354 #: includes/admin/partials/page-autocomplete-config.php:53
    355 msgid ""
    356 "Use the `Position` column to reflect the order of the sections in the "
    357 "dropdown menu."
    358 msgstr ""
    359 
    360 #: includes/admin/partials/page-search.php:4
     304#: includes/admin/partials/page-autocomplete-config.php:63
     305msgid "Use the `Max. Suggestions` column to configure the number of entries that will be displayed by section."
     306msgstr ""
     307
     308#: includes/admin/partials/page-autocomplete-config.php:65
     309msgid "Use the `Position` column to reflect the order of the sections in the dropdown menu."
     310msgstr ""
     311
     312#: includes/admin/partials/page-search.php:17
    361313msgid "Re-index search page records"
    362314msgstr ""
    363315
    364316#. translators: the placeholder will contain the name of the index.
    365 #: includes/class-algolia-cli.php:77
    366 #, php-format
     317#: includes/class-algolia-cli.php:117
    367318msgid "About to clear index %s..."
    368319msgstr ""
    369320
    370321#. translators: the placeholder will contain the name of the index.
    371 #: includes/class-algolia-cli.php:80
    372 #, php-format
     322#: includes/class-algolia-cli.php:120
    373323msgid "Correctly cleared index \"%s\"."
    374324msgstr ""
    375325
    376 #: includes/indices/class-algolia-searchable-posts-index.php:35
     326#: includes/indices/class-algolia-searchable-posts-index.php:78
    377327msgid "All posts"
    378328msgstr ""
    379329
    380 #: includes/indices/class-algolia-users-index.php:14
     330#: includes/indices/class-algolia-users-index.php:37
    381331msgid "Users"
    382332msgstr ""
    383333
    384 #: templates/autocomplete.php:79
     334#. translators: placeholder 1 is current plugin version, placeholder 2 is the available update version.
     335#: includes/utilities/class-algolia-update-messages.php:92
     336msgid "This is a major version update, from %1$s to %2$s, which may contain backwards incompatible changes."
     337msgstr ""
     338
     339#: templates/autocomplete.php:91
    385340msgid "No results matched your query "
    386341msgstr ""
    387 
    388 #. Plugin Name of the plugin/theme
    389 msgid "WP Search with Algolia"
    390 msgstr ""
    391 
    392 #. Plugin URI of the plugin/theme
    393 msgid "https://github.com/WebDevStudios/wp-search-with-algolia"
    394 msgstr ""
    395 
    396 #. Description of the plugin/theme
    397 msgid "Integrate the powerful Algolia search service with WordPress"
    398 msgstr ""
    399 
    400 #. Author of the plugin/theme
    401 msgid "WebDevStudios"
    402 msgstr ""
    403 
    404 #. Author URI of the plugin/theme
    405 msgid "https://webdevstudios.com"
    406 msgstr ""
  • wp-search-with-algolia/trunk/README.txt

    r2465306 r2524398  
    1 
    21=== WP Search with Algolia ===
    32Contributors: WebDevStudios, williamsba1, gregrickaby, tw2113, richaber, mrasharirfan
    43Tags: Search, Algolia, Autocomplete, instant-search, relevant search, search highlight, faceted search, find-as-you-type search, suggest, search by category, ajax search, better search, custom search
    54Requires at least: 5.0
    6 Tested up to: 5.5
     5Tested up to: 5.7
    76Requires PHP: 7.2
    8 Stable tag: 1.7.0
     7Stable tag: 1.8.0
    98License: GNU General Public License v2.0, MIT License
    109
     
    2726* [WebDevStudios](https://webdevstudios.com)
    2827* [Algolia](https://algolia.com)
    29 * [Documentation](https://community.algolia.com/wordpress/configuration.html)
     28* [Documentation](https://github.com/WebDevStudios/wp-search-with-algolia/wiki)
    3029* [Support](https://github.com/WebDevStudios/wp-search-with-algolia/issues)
    3130
     
    42413. **Activate** WP Search with Algolia from your Plugins page
    43424. **Click** on the new menu item "Algolia Search" and enter your API keys
    44 5. **Read** the step by step [configuration guide](https://community.algolia.com/wordpress/configuration.html)
     435. **Read** the step by step [configuration guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Getting-Started)
    4544
    4645== Frequently Asked Questions ==
     
    7271* Some payment gateways require fsockopen support (for IPN access)
    7372
    74 Visit the [Search by Algolia server requirements documentation](https://community.algolia.com/wordpress/installation.html) for a detailed list of server requirements.
     73Visit the [WP Search with Algolia server requirements documentation](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/WP-Search-with-Algolia-plugin-Installation) for a detailed list of server requirements.
    7574
    76 = Where can I find Algolia documentation and user guides? =
     75= Where can I find WP Search with Algolia documentation and user guides? =
    7776
    78 - For help setting up and configuring Search by Algolia please refer to the [user guide](https://community.algolia.com/wordpress/installation.html).
    79 - For extending or theming the Autocomplete dropdown, see the [Autocomplete Customization guide](https://community.algolia.com/wordpress/customize-autocomplete.html).
    80 - For extending or theming the Instant Search results page, see the [Search Page Customization guide](https://community.algolia.com/wordpress/customize-search-page.html).
     77- For help setting up and configuring WP Search with Algolia please refer to the [user guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/WP-Search-with-Algolia-plugin-Installation).
     78- For extending or theming the Autocomplete dropdown, see the [Autocomplete Customization guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Customize-the-Autocomplete-dropdown).
     79- For extending or theming the Instant Search results page, see the [Search Page Customization guide](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Customize-your-search-page).
    8180
    8281= Will it work with my theme? =
    8382
    84 Yes. This plugin will work with any theme, but the Instant Search results page may require some styling to make it match nicely. See the [Search Page Customization](https://community.algolia.com/wordpress/customize-search-page.html).
     83Yes. This plugin should work with most themes that do not override the default WordPress search behavior. Instant Search results page may require some styling to make it match nicely. See the [Search Page Customization](https://github.com/WebDevStudios/wp-search-with-algolia/wiki/Customize-your-search-page).
    8584
    8685= Where can I report bugs, request features, or contribute to the project? =
     
    9190
    9291Algolia offers its Search as a Service provider on a incremental payment program, including a free Community Plan which includes 10,000 records & 50,000 operations per month. Beyond that, [plans](https://www.algolia.com/pricing/) start at $29/month.
    93 
    94 *Note: there isn't a direct correlation between the number of posts in WordPress and the number of records in Algolia. Also note that we only offer support starting from the PRO plan.On average, you can expect to have about 10 times more records than you have posts, though this is not a golden rule and you could end up with more records.*
    9592
    9693= About WebDevStudios =
     
    109106
    110107Follow along with the changelog on [Github](https://github.com/WebDevStudios/wp-search-with-algolia/releases).
     108
     109= 1.8.0 =
     110* Focus on template versioning and update messaging
     111* Add Algolia_Template_Utils class
     112* Deprecate Algolia_Template_Loader::locate_template method
     113* Deprecate Algolia_Plugin::get_templates_path method
     114* Deprecate algolia_templates_path filter
     115* Add Algolia_Update_Messages class
     116* Add Algolia_Admin_Template_Notices class
     117* Add Algolia_Version_Utils class
    111118
    112119= 1.7.0 =
  • wp-search-with-algolia/trunk/algolia.php

    r2465306 r2524398  
    44 * Plugin URI:        https://github.com/WebDevStudios/wp-search-with-algolia
    55 * Description:       Integrate the powerful Algolia search service with WordPress
    6  * Version:           1.7.0
     6 * Version:           1.8.0
    77 * Requires at least: 5.0
    88 * Requires PHP:      7.2
     
    2727
    2828// The Algolia Search plugin version.
    29 define( 'ALGOLIA_VERSION', '1.7.0' );
     29define( 'ALGOLIA_VERSION', '1.8.0' );
    3030
    3131// The minmum required PHP version.
  • wp-search-with-algolia/trunk/classmap.php

    r2418143 r2524398  
    4545require_once ALGOLIA_PATH . 'includes/watchers/class-algolia-user-changes-watcher.php';
    4646
     47require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-template-utils.php';
     48require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-version-utils.php';
     49require_once ALGOLIA_PATH . 'includes/utilities/class-algolia-update-messages.php';
     50
    4751if ( is_admin() ) {
    4852    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin.php';
     
    5054    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-native-search.php';
    5155    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-page-settings.php';
     56    require_once ALGOLIA_PATH . 'includes/admin/class-algolia-admin-template-notices.php';
    5257}
  • wp-search-with-algolia/trunk/includes/admin/class-algolia-admin.php

    r2350155 r2524398  
    5252            }
    5353        }
     54
     55        new Algolia_Admin_Template_Notices();
    5456
    5557        new Algolia_Admin_Page_Settings( $plugin );
  • wp-search-with-algolia/trunk/includes/class-algolia-plugin.php

    r2465306 r2524398  
    8989
    9090    /**
     91     * Instance of Algolia_Update_Messages.
     92     *
     93     * @author WebDevStudios <contact@webdevstudios.com>
     94     * @since  1.8.0
     95     *
     96     * @var Algolia_Update_Messages
     97     */
     98    private $update_messages;
     99
     100    /**
    91101     * Instance of Algolia_Template_Loader.
    92102     *
     
    130140     */
    131141    public function __construct() {
    132         $this->settings      = new Algolia_Settings();
    133         $this->api           = new Algolia_API( $this->settings );
    134         $this->compatibility = new Algolia_Compatibility();
    135         $this->styles        = new Algolia_Styles();
    136         $this->scripts       = new Algolia_Scripts();
     142        $this->settings        = new Algolia_Settings();
     143        $this->api             = new Algolia_API( $this->settings );
     144        $this->compatibility   = new Algolia_Compatibility();
     145        $this->styles          = new Algolia_Styles();
     146        $this->scripts         = new Algolia_Scripts();
     147        $this->update_messages = new Algolia_Update_Messages();
     148
    137149        add_action( 'init', array( $this, 'load' ), 20 );
    138150    }
     
    395407     * Get the templates path.
    396408     *
    397      * @author WebDevStudios <contact@webdevstudios.com>
    398      * @since  1.0.0
     409     * Somewhat misleading method name.
     410     * Actually returns a path segment (directory name) with trailing slash.
     411     *
     412     * @author     WebDevStudios <contact@webdevstudios.com>
     413     * @since      1.0.0
     414     * @deprecated 1.8.0 Use Algolia_Template_Utils::get_filtered_theme_templates_dirname()
     415     * @see        Algolia_Template_Utils::get_filtered_theme_templates_dirname()
    399416     *
    400417     * @return string
    401418     */
    402419    public function get_templates_path() {
    403         return (string) apply_filters( 'algolia_templates_path', 'algolia/' );
     420        _deprecated_function(
     421            __METHOD__,
     422            '1.8.0',
     423            'Algolia_Template_Utils::get_filtered_theme_templates_dirname()'
     424        );
     425        return (string) Algolia_Template_Utils::get_filtered_theme_templates_dirname();
    404426    }
    405427
  • wp-search-with-algolia/trunk/includes/class-algolia-template-loader.php

    r2395495 r2524398  
    157157     * Handles template usage so that we can use our own templates instead of the themes.
    158158     *
    159      * Templates are in the 'templates' folder. algolia looks for theme.
    160      * overrides in /your-theme/algolia/ by default.
     159     * Plugin templates are located in the 'templates' directory.
     160     * Customized templates are in the theme's 'algolia' directory.
    161161     *
    162162     * @author  WebDevStudios <contact@webdevstudios.com>
     
    199199        );
    200200
    201         return $this->locate_template( 'instantsearch.php' );
     201        return Algolia_Template_Utils::locate_template( 'instantsearch.php' );
    202202    }
    203203
     
    209209     */
    210210    public function load_autocomplete_template() {
    211         require $this->locate_template( 'autocomplete.php' );
     211        require Algolia_Template_Utils::locate_template( 'autocomplete.php' );
    212212    }
    213213
     
    215215     * Locate a template.
    216216     *
    217      * @author  WebDevStudios <contact@webdevstudios.com>
    218      * @since   1.0.0
     217     * @author     WebDevStudios <contact@webdevstudios.com>
     218     * @since      1.0.0
     219     * @deprecated 1.8.0 Use Algolia_Template_Utils::locate_template()
     220     * @see        Algolia_Template_Utils::locate_template()
    219221     *
    220222     * @param string $file The template file.
     
    223225     */
    224226    private function locate_template( $file ) {
    225         $locations[] = $file;
    226 
    227         $templates_path = $this->plugin->get_templates_path();
    228         if ( 'algolia/' !== $templates_path ) {
    229             $locations[] = 'algolia/' . $file;
    230         }
    231 
    232         $locations[] = $templates_path . $file;
    233 
    234         $locations = (array) apply_filters( 'algolia_template_locations', $locations, $file );
    235 
    236         $template = locate_template( array_unique( $locations ) );
    237 
    238         $default_template = (string) apply_filters( 'algolia_default_template', $this->plugin->get_path() . '/templates/' . $file, $file );
    239 
    240         return $template ? $template : $default_template;
     227        _deprecated_function(
     228            __METHOD__,
     229            '1.8.0',
     230            'Algolia_Template_Utils::locate_template()'
     231        );
     232        return Algolia_Template_Utils::locate_template( $file );
    241233    }
    242234}
  • wp-search-with-algolia/trunk/languages/wp-search-with-algolia.pot

    r2286077 r2524398  
    1 #, fuzzy
     1# Copyright (C) 2021 WebDevStudios
     2# This file is distributed under the same license as the WP Search with Algolia plugin.
    23msgid ""
    34msgstr ""
    4 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    5 "Project-Id-Version: WP Search with Algolia\n"
    6 "POT-Creation-Date: 2020-04-17 19:11-0500\n"
    7 "PO-Revision-Date: 2019-08-30 22:52-0500\n"
    8 "Last-Translator: Richard Aber <richard.aber@webdevstudios.com>\n"
    9 "Language-Team: Richard Aber <richard.aber@webdevstudios.com>\n"
     5"Project-Id-Version: WP Search with Algolia 1.8.0\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-search-with-algolia\n"
     7"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     8"Language-Team: LANGUAGE <LL@li.org>\n"
    109"MIME-Version: 1.0\n"
    1110"Content-Type: text/plain; charset=UTF-8\n"
    1211"Content-Transfer-Encoding: 8bit\n"
    13 "X-Generator: Poedit 2.3\n"
    14 "X-Poedit-Basepath: ..\n"
    15 "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    16 "X-Poedit-WPHeader: algolia.php\n"
    17 "X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    21 "X-Poedit-SearchPath-0: .\n"
    22 "X-Poedit-SearchPathExcluded-0: *.min.js\n"
     12"POT-Creation-Date: 2021-05-01T00:02:34+00:00\n"
     13"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     14"X-Generator: WP-CLI 2.4.0\n"
     15"X-Domain: wp-search-with-algolia\n"
     16
     17#. Plugin Name of the plugin
     18msgid "WP Search with Algolia"
     19msgstr ""
     20
     21#. Plugin URI of the plugin
     22msgid "https://github.com/WebDevStudios/wp-search-with-algolia"
     23msgstr ""
     24
     25#. Description of the plugin
     26msgid "Integrate the powerful Algolia search service with WordPress"
     27msgstr ""
     28
     29#. Author of the plugin
     30msgid "WebDevStudios"
     31msgstr ""
     32
     33#. Author URI of the plugin
     34msgid "https://webdevstudios.com"
     35msgstr ""
    2336
    2437#. translators: placeholder 1 is minimum required PHP version, placeholder 2 is installed PHP version.
    25 #: algolia.php:77
    26 #, php-format
     38#: algolia.php:88
    2739msgid "Algolia plugin requires PHP %1$s or higher. You’re still on %2$s."
    2840msgstr ""
    2941
    3042#. translators: placeholder 1 is minimum required WordPress version, placeholder 2 is installed WordPress version.
    31 #: algolia.php:86
    32 #, php-format
    33 msgid ""
    34 "Algolia plugin requires at least WordPress in version %1$s, You are on %2$s."
    35 msgstr ""
    36 
    37 #: includes/admin/class-algolia-admin-page-autocomplete.php:53
    38 #: includes/admin/class-algolia-admin-page-settings.php:63
     43#: algolia.php:97
     44msgid "Algolia plugin requires at least WordPress in version %1$s, You are on %2$s."
     45msgstr ""
     46
     47#: includes/admin/class-algolia-admin-page-autocomplete.php:106
     48#: includes/admin/class-algolia-admin-page-settings.php:119
    3949msgid "Algolia Search"
    4050msgstr ""
    4151
    42 #: includes/admin/class-algolia-admin-page-autocomplete.php:61
    43 #: includes/admin/class-algolia-admin-page-autocomplete.php:62
     52#: includes/admin/class-algolia-admin-page-autocomplete.php:114
     53#: includes/admin/class-algolia-admin-page-autocomplete.php:115
    4454msgid "Autocomplete"
    4555msgstr ""
    4656
    47 #: includes/admin/class-algolia-admin-page-autocomplete.php:79
     57#: includes/admin/class-algolia-admin-page-autocomplete.php:138
    4858msgid "Enable autocomplete"
    4959msgstr ""
    5060
    51 #: includes/admin/class-algolia-admin-page-autocomplete.php:87
     61#: includes/admin/class-algolia-admin-page-autocomplete.php:146
    5262msgid "Configuration"
    5363msgstr ""
    5464
    55 #: includes/admin/class-algolia-admin-page-autocomplete.php:120
    56 msgid ""
    57 "Autocomplete configuration has been saved. Make sure to hit the \"re-index\" "
    58 "buttons of the different indices that are not indexed yet."
     65#: includes/admin/class-algolia-admin-page-autocomplete.php:187
     66msgid "Autocomplete configuration has been saved. Make sure to hit the \"re-index\" buttons of the different indices that are not indexed yet."
    5967msgstr ""
    6068
    6169#. translators: placeholder contains the URL to the autocomplete configuration page.
    62 #: includes/admin/class-algolia-admin-page-autocomplete.php:159
    63 #, php-format
    64 msgid ""
    65 "Please select one or multiple indices on the <a href=\"%s\">Algolia: "
    66 "Autocomplete configuration page</a>."
    67 msgstr ""
    68 
    69 #: includes/admin/class-algolia-admin-page-autocomplete.php:161
    70 msgid ""
    71 "You have enabled the Algolia Autocomplete feature but did not choose any "
    72 "index to search in."
    73 msgstr ""
    74 
    75 #: includes/admin/class-algolia-admin-page-autocomplete.php:171
    76 msgid ""
    77 "The autocomplete feature adds a find-as-you-type dropdown menu to your "
    78 "search bar(s)."
    79 msgstr ""
    80 
    81 #: includes/admin/class-algolia-admin-page-native-search.php:44
    82 #: includes/admin/class-algolia-admin-page-native-search.php:45
     70#: includes/admin/class-algolia-admin-page-autocomplete.php:250
     71msgid "Please select one or multiple indices on the <a href=\"%s\">Algolia: Autocomplete configuration page</a>."
     72msgstr ""
     73
     74#: includes/admin/class-algolia-admin-page-autocomplete.php:252
     75msgid "You have enabled the Algolia Autocomplete feature but did not choose any index to search in."
     76msgstr ""
     77
     78#: includes/admin/class-algolia-admin-page-autocomplete.php:265
     79msgid "The autocomplete feature adds a find-as-you-type dropdown menu to your search bar(s)."
     80msgstr ""
     81
     82#: includes/admin/class-algolia-admin-page-native-search.php:93
     83#: includes/admin/class-algolia-admin-page-native-search.php:94
    8384msgid "Search Page"
    8485msgstr ""
    8586
    86 #: includes/admin/class-algolia-admin-page-native-search.php:62
     87#: includes/admin/class-algolia-admin-page-native-search.php:117
    8788msgid "Search results"
    8889msgstr ""
    8990
    90 #: includes/admin/class-algolia-admin-page-native-search.php:88
     91#: includes/admin/class-algolia-admin-page-native-search.php:154
    9192msgid "WordPress search is now based on Algolia!"
    9293msgstr ""
    9394
    94 #: includes/admin/class-algolia-admin-page-native-search.php:95
     95#: includes/admin/class-algolia-admin-page-native-search.php:161
    9596msgid "WordPress search is now based on Algolia instantsearch.js!"
    9697msgstr ""
    9798
    98 #: includes/admin/class-algolia-admin-page-native-search.php:103
    99 msgid ""
    100 "You chose to keep the WordPress native search instead of Algolia. If you are "
    101 "using the autocomplete feature of the plugin we highly recommend you turn "
    102 "Algolia search on instead of the WordPress native search."
     99#: includes/admin/class-algolia-admin-page-native-search.php:169
     100msgid "You chose to keep the WordPress native search instead of Algolia. If you are using the autocomplete feature of the plugin we highly recommend you turn Algolia search on instead of the WordPress native search."
    103101msgstr ""
    104102
    105103#. translators: placeholder contains the link to the indexing page.
    106 #: includes/admin/class-algolia-admin-page-native-search.php:139
    107 #, php-format
    108 msgid ""
    109 "Searchable posts index needs to be checked on the <a href=\"%s\">Algolia: "
    110 "Indexing page</a> for the search results to be powered by Algolia."
    111 msgstr ""
    112 
    113 #: includes/admin/class-algolia-admin-page-native-search.php:150
    114 msgid ""
    115 "By enabling this plugin to override the native WordPress search, your search "
    116 "results will be powered by Algolia's typo-tolerant & relevant search "
    117 "algorithms."
    118 msgstr ""
    119 
    120 #: includes/admin/class-algolia-admin-page-native-search.php:162
    121 msgid ""
    122 "You have no index containing only posts yet. Please index some content on "
    123 "the `Indexing` page."
    124 msgstr ""
    125 
    126 #: includes/admin/class-algolia-admin-page-settings.php:52
    127 #: includes/admin/class-algolia-admin-page-settings.php:73
    128 #: includes/admin/class-algolia-admin-page-settings.php:74
     104#: includes/admin/class-algolia-admin-page-native-search.php:213
     105msgid "Searchable posts index needs to be checked on the <a href=\"%s\">Algolia: Indexing page</a> for the search results to be powered by Algolia."
     106msgstr ""
     107
     108#: includes/admin/class-algolia-admin-page-native-search.php:227
     109msgid "By enabling this plugin to override the native WordPress search, your search results will be powered by Algolia's typo-tolerant & relevant search algorithms."
     110msgstr ""
     111
     112#: includes/admin/class-algolia-admin-page-native-search.php:239
     113msgid "You have no index containing only posts yet. Please index some content on the `Indexing` page."
     114msgstr ""
     115
     116#: includes/admin/class-algolia-admin-page-settings.php:100
     117#: includes/admin/class-algolia-admin-page-settings.php:129
     118#: includes/admin/class-algolia-admin-page-settings.php:130
    129119msgid "Settings"
    130120msgstr ""
    131121
    132 #: includes/admin/class-algolia-admin-page-settings.php:91
     122#: includes/admin/class-algolia-admin-page-settings.php:153
    133123msgid "Application ID"
    134124msgstr ""
    135125
    136 #: includes/admin/class-algolia-admin-page-settings.php:99
     126#: includes/admin/class-algolia-admin-page-settings.php:161
    137127msgid "Search-only API key"
    138128msgstr ""
    139129
    140 #: includes/admin/class-algolia-admin-page-settings.php:107
     130#: includes/admin/class-algolia-admin-page-settings.php:169
    141131msgid "Admin API key"
    142132msgstr ""
    143133
    144 #: includes/admin/class-algolia-admin-page-settings.php:115
     134#: includes/admin/class-algolia-admin-page-settings.php:177
    145135msgid "Index name prefix"
    146136msgstr ""
    147137
    148 #: includes/admin/class-algolia-admin-page-settings.php:123
     138#: includes/admin/class-algolia-admin-page-settings.php:185
    149139msgid "Remove Algolia powered by logo"
    150140msgstr ""
    151141
    152 #: includes/admin/class-algolia-admin-page-settings.php:143
     142#: includes/admin/class-algolia-admin-page-settings.php:211
    153143msgid "Your Algolia Application ID."
    154144msgstr ""
    155145
    156 #: includes/admin/class-algolia-admin-page-settings.php:154
     146#: includes/admin/class-algolia-admin-page-settings.php:228
    157147msgid "Your Algolia Search-only API key (public)."
    158148msgstr ""
    159149
    160 #: includes/admin/class-algolia-admin-page-settings.php:164
     150#: includes/admin/class-algolia-admin-page-settings.php:244
    161151msgid "Your Algolia ADMIN API key (kept private)."
    162152msgstr ""
    163153
    164 #: includes/admin/class-algolia-admin-page-settings.php:174
     154#: includes/admin/class-algolia-admin-page-settings.php:260
    165155msgid "This prefix will be prepended to your index names."
    166156msgstr ""
    167157
    168 #: includes/admin/class-algolia-admin-page-settings.php:185
    169 msgid ""
    170 "This will remove the Algolia logo from the autocomplete and the search page. "
    171 "We require that you keep the Algolia logo if you are using a free plan."
    172 msgstr ""
    173 
    174 #: includes/admin/class-algolia-admin-page-settings.php:198
     158#: includes/admin/class-algolia-admin-page-settings.php:277
     159msgid "This will remove the Algolia logo from the autocomplete and the search page. We require that you keep the Algolia logo if you are using a free plan."
     160msgstr ""
     161
     162#: includes/admin/class-algolia-admin-page-settings.php:300
    175163msgid "Application ID should not be empty."
    176164msgstr ""
    177165
    178 #: includes/admin/class-algolia-admin-page-settings.php:216
     166#: includes/admin/class-algolia-admin-page-settings.php:328
    179167msgid "Search-only API key should not be empty."
    180168msgstr ""
    181169
    182 #: includes/admin/class-algolia-admin-page-settings.php:233
     170#: includes/admin/class-algolia-admin-page-settings.php:355
    183171msgid "API key should not be empty"
    184172msgstr ""
    185173
    186 #: includes/admin/class-algolia-admin-page-settings.php:260
    187 msgid ""
    188 "We were unable to authenticate you against the Algolia servers with the "
    189 "provided information. Please ensure that you used an the Admin API key and a "
    190 "valid Application ID."
    191 msgstr ""
    192 
    193 #: includes/admin/class-algolia-admin-page-settings.php:271
    194 msgid ""
    195 "It looks like your search API key is wrong. Ensure that the key you entered "
    196 "has only the search capability and nothing else. Also ensure that the key "
    197 "has no limited time validity."
    198 msgstr ""
    199 
    200 #: includes/admin/class-algolia-admin-page-settings.php:280
    201 msgid ""
    202 "We succesfully managed to connect to the Algolia servers with the provided "
    203 "information. Your search API key has also been checked and is OK."
    204 msgstr ""
    205 
    206 #: includes/admin/class-algolia-admin-page-settings.php:318
    207 msgid ""
    208 "Indices prefix can only contain alphanumeric characters and underscores."
    209 msgstr ""
    210 
    211 #: includes/admin/class-algolia-admin-page-settings.php:347
    212 msgid ""
    213 "Configure your Algolia account credentials. You can find them in the \"API "
    214 "Keys\" section of your Algolia dashboard."
    215 msgstr ""
    216 
    217 #: includes/admin/class-algolia-admin-page-settings.php:348
    218 msgid ""
    219 "Once you provide your Algolia Application ID and API key, this plugin will "
    220 "be able to securely communicate with Algolia servers."
    221 msgstr ""
    222 
    223 #: includes/admin/class-algolia-admin-page-settings.php:348
    224 msgid ""
    225 "We ensure your information is correct by testing them against the Algolia "
    226 "servers upon save."
     174#: includes/admin/class-algolia-admin-page-settings.php:384
     175msgid "We were unable to authenticate you against the Algolia servers with the provided information. Please ensure that you used a valid Application ID and Admin API key."
     176msgstr ""
     177
     178#: includes/admin/class-algolia-admin-page-settings.php:395
     179msgid "It looks like your search API key is wrong. Ensure that the key you entered has only the search capability and nothing else. Also ensure that the key has no limited time validity."
     180msgstr ""
     181
     182#: includes/admin/class-algolia-admin-page-settings.php:405
     183msgid "We succesfully managed to connect to the Algolia servers with the provided information. Your search API key has also been checked and is OK."
     184msgstr ""
     185
     186#: includes/admin/class-algolia-admin-page-settings.php:453
     187msgid "Indices prefix can only contain alphanumeric characters and underscores."
     188msgstr ""
     189
     190#: includes/admin/class-algolia-admin-page-settings.php:502
     191msgid "Configure your Algolia account credentials. You can find them in the \"API Keys\" section of your Algolia dashboard."
     192msgstr ""
     193
     194#: includes/admin/class-algolia-admin-page-settings.php:503
     195msgid "Once you provide your Algolia Application ID and API key, this plugin will be able to securely communicate with Algolia servers."
     196msgstr ""
     197
     198#: includes/admin/class-algolia-admin-page-settings.php:503
     199msgid "We ensure your information is correct by testing them against the Algolia servers upon save."
    227200msgstr ""
    228201
    229202#. translators: the placeholder contains the URL to Algolia's website.
    230 #: includes/admin/class-algolia-admin-page-settings.php:350
    231 #, php-format
    232 msgid ""
    233 "No Algolia account yet? <a href=\"%s\">Follow this link</a> to create one "
    234 "for free in a couple of minutes!"
    235 msgstr ""
    236 
    237 #: includes/admin/class-algolia-admin.php:57
    238 msgid ""
    239 "Algolia Search requires the \"mbstring\" PHP extension to be enabled. Please "
    240 "contact your hosting provider."
    241 msgstr ""
    242 
    243 #: includes/admin/class-algolia-admin.php:61
    244 msgid ""
    245 "Algolia needs \"mbregex\" NOT to be disabled. Please contact your hosting "
    246 "provider."
    247 msgstr ""
    248 
    249 #: includes/admin/class-algolia-admin.php:67
    250 msgid ""
    251 "Algolia Search requires the \"cURL\" PHP extension to be enabled. Please "
    252 "contact your hosting provider."
     203#: includes/admin/class-algolia-admin-page-settings.php:505
     204msgid "No Algolia account yet? <a href=\"%s\">Follow this link</a> to create one for free in a couple of minutes!"
     205msgstr ""
     206
     207#. translators: placeholder 1 is template filename, placeholder 2 is custom template version, placeholder 3 is core template version.
     208#: includes/admin/class-algolia-admin-template-notices.php:64
     209msgid "Your custom WP Search With Algolia template file, %1$s, version %2$s is out of date. The core version is %3$s"
     210msgstr ""
     211
     212#: includes/admin/class-algolia-admin-template-notices.php:69
     213msgid "unknown"
     214msgstr ""
     215
     216#: includes/admin/class-algolia-admin.php:113
     217msgid "Algolia Search requires the \"mbstring\" PHP extension to be enabled. Please contact your hosting provider."
     218msgstr ""
     219
     220#: includes/admin/class-algolia-admin.php:117
     221msgid "Algolia needs \"mbregex\" NOT to be disabled. Please contact your hosting provider."
     222msgstr ""
     223
     224#: includes/admin/class-algolia-admin.php:123
     225msgid "Algolia Search requires the \"cURL\" PHP extension to be enabled. Please contact your hosting provider."
    253226msgstr ""
    254227
    255228#. translators: placeholder contains the URL to the caching plugin's config page.
    256 #: includes/admin/class-algolia-admin.php:90
    257 #, php-format
    258 msgid ""
    259 "In order for <strong>database caching</strong> to work with Algolia you must "
    260 "add <code>algolia_</code> to the \"Ignored Query Stems\" option in W3 Total "
    261 "Cache settings <a href=\"%s\">here</a>."
    262 msgstr ""
    263 
    264 #: includes/admin/class-algolia-admin.php:124
    265 #, php-format
    266 msgid ""
    267 "For Algolia search to work properly, you need to index: <strong>%1$s</strong>"
    268 msgstr ""
    269 
    270 #: includes/admin/class-algolia-admin.php:133
     229#: includes/admin/class-algolia-admin.php:151
     230msgid "In order for <strong>database caching</strong> to work with Algolia you must add <code>algolia_</code> to the \"Ignored Query Stems\" option in W3 Total Cache settings <a href=\"%s\">here</a>."
     231msgstr ""
     232
     233#. Translators: placeholder is an Algolia index name.
     234#: includes/admin/class-algolia-admin.php:188
     235msgid "For Algolia search to work properly, you need to index: <strong>%1$s</strong>"
     236msgstr ""
     237
     238#: includes/admin/class-algolia-admin.php:197
    271239msgid "Index now"
    272240msgstr ""
    273241
    274 #: includes/admin/partials/form-override-search-option.php:5
     242#: includes/admin/partials/form-override-search-option.php:17
    275243msgid "Do not use Algolia"
    276244msgstr ""
    277245
    278 #: includes/admin/partials/form-override-search-option.php:11
    279 msgid ""
    280 "Do not use Algolia for searching at all.<br/>This is only a valid option if "
    281 "you wish to search on your content from another website."
    282 msgstr ""
    283 
    284 #: includes/admin/partials/form-override-search-option.php:24
     246#: includes/admin/partials/form-override-search-option.php:22
     247msgid "Do not use Algolia for searching at all.<br/>This is only a valid option if you wish to search on your content from another website."
     248msgstr ""
     249
     250#: includes/admin/partials/form-override-search-option.php:36
    285251msgid "Use Algolia in the backend"
    286252msgstr ""
    287253
    288 #: includes/admin/partials/form-override-search-option.php:30
    289 msgid ""
    290 "With this option WordPress search will be powered by Algolia behind the "
    291 "scenes.<br/>This will allow your search results to be typo tolerant.<br/"
    292 "><b>This option does not support filtering and displaying instant search "
    293 "results but has the advantage to play nicely with any theme.</b>"
    294 msgstr ""
    295 
    296 #: includes/admin/partials/form-override-search-option.php:44
     254#: includes/admin/partials/form-override-search-option.php:41
     255msgid "With this option WordPress search will be powered by Algolia behind the scenes.<br/>This will allow your search results to be typo tolerant.<br/><b>This option does not support filtering and displaying instant search results but has the advantage to play nicely with any theme.</b>"
     256msgstr ""
     257
     258#: includes/admin/partials/form-override-search-option.php:56
    297259msgid "Use Algolia with Instantsearch.js"
    298260msgstr ""
    299261
    300 #: includes/admin/partials/form-override-search-option.php:50
    301 msgid ""
    302 "This will replace the search page with an instant search experience powered "
    303 "by Algolia.<br/>By default you will be able to filter by post type, "
    304 "categories, tags and authors.<br/>Please note that the plugin is shipped "
    305 "with some sensible default styling rules<br/>but it could require some CSS "
    306 "adjustments to provide an optimal search experience."
    307 msgstr ""
    308 
    309 #: includes/admin/partials/page-autocomplete-config.php:5
     262#: includes/admin/partials/form-override-search-option.php:61
     263msgid "This will replace the search page with an instant search experience powered by Algolia.<br/>By default you will be able to filter by post type, categories, tags and authors.<br/>Please note that the plugin is shipped with some sensible default styling rules<br/>but it could require some CSS adjustments to provide an optimal search experience."
     264msgstr ""
     265
     266#: includes/admin/partials/page-autocomplete-config.php:17
    310267msgid "Enable"
    311268msgstr ""
    312269
    313 #: includes/admin/partials/page-autocomplete-config.php:6
     270#: includes/admin/partials/page-autocomplete-config.php:18
    314271msgid "Index"
    315272msgstr ""
    316273
    317 #: includes/admin/partials/page-autocomplete-config.php:7
     274#: includes/admin/partials/page-autocomplete-config.php:19
    318275msgid "Label"
    319276msgstr ""
    320277
    321 #: includes/admin/partials/page-autocomplete-config.php:8
     278#: includes/admin/partials/page-autocomplete-config.php:20
    322279msgid "Max. Suggestions"
    323280msgstr ""
    324281
    325 #: includes/admin/partials/page-autocomplete-config.php:9
     282#: includes/admin/partials/page-autocomplete-config.php:21
    326283msgid "Actions"
    327284msgstr ""
    328285
    329286#. translators: placeholder is the name of an Algolia search index.
    330 #: includes/admin/partials/page-autocomplete-config.php:28
    331 #, php-format
     287#: includes/admin/partials/page-autocomplete-config.php:40
    332288msgid "Index name: %s"
    333289msgstr ""
    334290
    335 #: includes/admin/partials/page-autocomplete-config.php:41
     291#: includes/admin/partials/page-autocomplete-config.php:53
    336292msgid "Re-index"
    337293msgstr ""
    338294
    339 #: includes/admin/partials/page-autocomplete-config.php:42
    340 #: includes/admin/partials/page-search.php:5
     295#: includes/admin/partials/page-autocomplete-config.php:54
     296#: includes/admin/partials/page-search.php:20
    341297msgid "Push Settings"
    342298msgstr ""
    343299
    344 #: includes/admin/partials/page-autocomplete-config.php:49
     300#: includes/admin/partials/page-autocomplete-config.php:61
    345301msgid "Configure here the indices you want to display in the dropdown menu."
    346302msgstr ""
    347303
    348 #: includes/admin/partials/page-autocomplete-config.php:51
    349 msgid ""
    350 "Use the `Max. Suggestions` column to configure the number of entries that "
    351 "will be displayed by section."
    352 msgstr ""
    353 
    354 #: includes/admin/partials/page-autocomplete-config.php:53
    355 msgid ""
    356 "Use the `Position` column to reflect the order of the sections in the "
    357 "dropdown menu."
    358 msgstr ""
    359 
    360 #: includes/admin/partials/page-search.php:4
     304#: includes/admin/partials/page-autocomplete-config.php:63
     305msgid "Use the `Max. Suggestions` column to configure the number of entries that will be displayed by section."
     306msgstr ""
     307
     308#: includes/admin/partials/page-autocomplete-config.php:65
     309msgid "Use the `Position` column to reflect the order of the sections in the dropdown menu."
     310msgstr ""
     311
     312#: includes/admin/partials/page-search.php:17
    361313msgid "Re-index search page records"
    362314msgstr ""
    363315
    364316#. translators: the placeholder will contain the name of the index.
    365 #: includes/class-algolia-cli.php:77
    366 #, php-format
     317#: includes/class-algolia-cli.php:117
    367318msgid "About to clear index %s..."
    368319msgstr ""
    369320
    370321#. translators: the placeholder will contain the name of the index.
    371 #: includes/class-algolia-cli.php:80
    372 #, php-format
     322#: includes/class-algolia-cli.php:120
    373323msgid "Correctly cleared index \"%s\"."
    374324msgstr ""
    375325
    376 #: includes/indices/class-algolia-searchable-posts-index.php:35
     326#: includes/indices/class-algolia-searchable-posts-index.php:78
    377327msgid "All posts"
    378328msgstr ""
    379329
    380 #: includes/indices/class-algolia-users-index.php:14
     330#: includes/indices/class-algolia-users-index.php:37
    381331msgid "Users"
    382332msgstr ""
    383333
    384 #: templates/autocomplete.php:79
     334#. translators: placeholder 1 is current plugin version, placeholder 2 is the available update version.
     335#: includes/utilities/class-algolia-update-messages.php:92
     336msgid "This is a major version update, from %1$s to %2$s, which may contain backwards incompatible changes."
     337msgstr ""
     338
     339#: templates/autocomplete.php:91
    385340msgid "No results matched your query "
    386341msgstr ""
    387 
    388 #. Plugin Name of the plugin/theme
    389 msgid "WP Search with Algolia"
    390 msgstr ""
    391 
    392 #. Plugin URI of the plugin/theme
    393 msgid "https://github.com/WebDevStudios/wp-search-with-algolia"
    394 msgstr ""
    395 
    396 #. Description of the plugin/theme
    397 msgid "Integrate the powerful Algolia search service with WordPress"
    398 msgstr ""
    399 
    400 #. Author of the plugin/theme
    401 msgid "WebDevStudios"
    402 msgstr ""
    403 
    404 #. Author URI of the plugin/theme
    405 msgid "https://webdevstudios.com"
    406 msgstr ""
Note: See TracChangeset for help on using the changeset viewer.