diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9909d2c3..b4125134 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -173,7 +173,7 @@ GitHub Actions will be triggered and push the beta version to [npm](https://www.
- merge the change into `bump-meilisearch-v*.*.*`
- rebase the `vX.X.X-beta.0` branch
- change the version name in `package.json`
-- creata a pre-release via the GitHub interface
+- create a pre-release via the GitHub interface
diff --git a/README.md b/README.md
index 73c47603..c2a9f4a2 100644
--- a/README.md
+++ b/README.md
@@ -308,7 +308,7 @@ For example, given two content-types:
The index `product` has both the entries of shoes and shirts. If the index `product` has `350` documents in Meilisearch, it is not possible to know how many of them are from `shoes` or `shirts`.
-When removing `shoes` or `shirts` from Meilisearch, both are removed as it would require to much processing to only remove one. You can still re-index only one after that.
+When removing `shoes` or `shirts` from Meilisearch, both are removed as it would require too much processing to only remove one. You can still re-index only one after that.
Example with two single types:
@@ -652,5 +652,5 @@ If you want to know more about the development workflow or want to contribute, p
Using the [foodadvisor](https://github.com/strapi/foodadvisor) restaurant demo Strapi provided. We added a searchbar to it using [instant-meilisearch](https://github.com/meilisearch/meilisearch-js-plugins/tree/main/packages/instant-meilisearch).
-
+
diff --git a/admin/src/Hooks/useAlert.js b/admin/src/Hooks/useAlert.js
index 7a265e90..95193f3b 100644
--- a/admin/src/Hooks/useAlert.js
+++ b/admin/src/Hooks/useAlert.js
@@ -8,7 +8,7 @@ export function useAlert() {
/**
* @param {object} options
* @param {string} [options.type='info']
- * @param {string} [options.message='SomethingoccuredinMeilisearch']
+ * @param {string} [options.message='SomethingoccurredinMeilisearch']
* @param {object} [options.link]
* @param {boolean} [options.blockTransition]
*/
@@ -16,7 +16,7 @@ export function useAlert() {
type = 'info',
message = i18n(
'plugin.message.something',
- 'Something occured in Meilisearch',
+ 'Something occurred in Meilisearch',
),
link,
blockTransition = true,
diff --git a/admin/src/containers/Settings/PluginActions.jsx b/admin/src/containers/Settings/PluginActions.jsx
index db9ce3ff..5d85f9c0 100644
--- a/admin/src/containers/Settings/PluginActions.jsx
+++ b/admin/src/containers/Settings/PluginActions.jsx
@@ -35,7 +35,7 @@ const PluginActions = () => {
- Applies the same cleaning as when you remove the plugin. Additionnaly,
+ Applies the same cleaning as when you remove the plugin. Additionally,
it also uninstalls the plugin.
diff --git a/admin/src/translations/en.json b/admin/src/translations/en.json
index fcea3c7e..6dad0919 100644
--- a/admin/src/translations/en.json
+++ b/admin/src/translations/en.json
@@ -29,7 +29,7 @@
"plugin.message.success.add": "Request to add a content-type is successful",
"plugin.message.success.update": "Request to update content-type is successful",
"plugin.message.success.credentials": "Credentials successfully updated!",
- "plugin.message.something": "Something occured in Meilisearch",
+ "plugin.message.something": "Something occurred in Meilisearch",
"plugin.message.forbidden.title": "Forbidden",
"plugin.message.forbidden.description": "You do not have permission to do this action"
}
diff --git a/resources/meilisearch-settings/make-relationship-filterable.js b/resources/meilisearch-settings/make-relationship-filterable.js
index 7b616df3..47487923 100644
--- a/resources/meilisearch-settings/make-relationship-filterable.js
+++ b/resources/meilisearch-settings/make-relationship-filterable.js
@@ -18,7 +18,7 @@
* }
*
* Since Meilisearch is expecting `category: ["Italian", "french"]` and
- * also `category` to be in `filterableAttributes` we can use the model configuration file to provide all these informations.
+ * also `category` to be in `filterableAttributes` we can use the model configuration file to provide all this information.
*/
module.exports = {
diff --git a/server/src/config/configuration-validation.js b/server/src/config/configuration-validation.js
index 1997545c..9be8a746 100644
--- a/server/src/config/configuration-validation.js
+++ b/server/src/config/configuration-validation.js
@@ -135,7 +135,7 @@ function EntriesQuery({ configuration, collectionName }) {
},
validateLocale() {
- // locale is either undefined or a none empty string
+ // locale is either undefined or a non-empty string
if (
(locale !== undefined && typeof locale !== 'string') ||
locale === ''
@@ -321,7 +321,7 @@ function PluginConfig({ configuration }) {
},
validateHost() {
- // apiKey is either undefined or a none empty string
+ // host is either undefined or a non-empty string
if ((host !== undefined && typeof host !== 'string') || host === '') {
log.error('The "host" option should be a non-empty string')
} else if (host !== undefined) {
@@ -331,7 +331,7 @@ function PluginConfig({ configuration }) {
},
validateCollections() {
- // Itterate over all collections to validate their configuration
+ // Iterate over all collections to validate their configuration
for (const collection in collections) {
if (!isObject(collections[collection])) {
log.error(
diff --git a/server/src/services/content-types/content-types.js b/server/src/services/content-types/content-types.js
index c5f60043..b88ea823 100644
--- a/server/src/services/content-types/content-types.js
+++ b/server/src/services/content-types/content-types.js
@@ -57,11 +57,11 @@ export default ({ strapi }) => ({
const contentTypeUids = Object.keys(contentTypes)
if (contentTypeUids.includes(contentType)) return contentType
- const contentTypdUid = contentTypeUids.find(uid => {
+ const contentTypeUid = contentTypeUids.find(uid => {
return contentTypes[uid].modelName === contentType
})
- return contentTypdUid
+ return contentTypeUid
},
/**
diff --git a/server/src/services/meilisearch/config.js b/server/src/services/meilisearch/config.js
index 7601444a..f819b3a2 100644
--- a/server/src/services/meilisearch/config.js
+++ b/server/src/services/meilisearch/config.js
@@ -121,7 +121,7 @@ export default ({ strapi }) => {
contentType,
})
- // If the entry does not answers the predicate
+ // If the entry does not answer the predicate
if (!isValid) return filteredEntries
const syncFilteredEntries = await filteredEntries
diff --git a/server/src/services/meilisearch/connector.js b/server/src/services/meilisearch/connector.js
index f9c8b9b0..2cc50f24 100644
--- a/server/src/services/meilisearch/connector.js
+++ b/server/src/services/meilisearch/connector.js
@@ -4,8 +4,8 @@ import Meilisearch from './client'
* Add one entry from a contentType to its index in Meilisearch.
*
* @param {object} options
- * @param {object} options.config - Configuration utililites.
- * @param {object} options.adapter - Adapter utililites.
+ * @param {object} options.config - Configuration utilities.
+ * @param {object} options.adapter - Adapter utilities.
* @param {string} options.contentType - ContentType name.
* @param {object[] | object} options.entries - Entries to sanitize.
* @returns {Promise