From 71aa7510cc4e8c9587c1dbcf3e2172cbabbc312e Mon Sep 17 00:00:00 2001 From: sunnyson Date: Tue, 28 Dec 2021 18:51:18 +0200 Subject: [PATCH] typos --- docs/developer-docs/latest/concepts/draft-and-publish.md | 4 ++-- docs/developer-docs/latest/developer-resources/cli/CLI.md | 4 ++-- .../database-apis-reference/query-engine/filtering.md | 2 +- .../database-apis-reference/rest/sort-pagination.md | 2 +- .../developer-resources/plugin-api-reference/admin-panel.md | 4 ++-- .../developer-resources/plugin-api-reference/server.md | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/developer-docs/latest/concepts/draft-and-publish.md b/docs/developer-docs/latest/concepts/draft-and-publish.md index c9a5b9e256..9cc225d9ec 100644 --- a/docs/developer-docs/latest/concepts/draft-and-publish.md +++ b/docs/developer-docs/latest/concepts/draft-and-publish.md @@ -10,7 +10,7 @@ The draft and publish feature allows you to save your content as a draft, to pub ## Activating or deactivating the draft and publish feature -By default, the draft and publish feature is activated for all newly created collection and single types. It is however possible to deactive the feature at content type level (i.e. it can be activated for one content type, but deactivated for another). +By default, the draft and publish feature is activated for all newly created collection and single types. It is however possible to deactivate the feature at content type level (i.e. it can be activated for one content type, but deactivated for another). ::: warning If the feature is deactivated while contents are saved as drafts, they will automatically be deleted. Make sure all contents are published before deactivating the feature. @@ -18,7 +18,7 @@ If the feature is deactivated while contents are saved as drafts, they will auto To deactivate the draft and publish feature for a content type: -1. Go the Plugins > Content-Type Builder. +1. Go to the Plugins > Content-Type Builder. 2. Select the collection or single type for which you want the draft and publish feature to be deactivated. 3. Click on the Edit button to access the content type's configurations. 4. Click on the "Advanced Settings" tab. diff --git a/docs/developer-docs/latest/developer-resources/cli/CLI.md b/docs/developer-docs/latest/developer-resources/cli/CLI.md index 88914eea5e..e7ed9beeff 100644 --- a/docs/developer-docs/latest/developer-resources/cli/CLI.md +++ b/docs/developer-docs/latest/developer-resources/cli/CLI.md @@ -67,7 +67,7 @@ You should never use this command to run a Strapi application in production. Start a Strapi application with autoReload disabled. -This commands is there to run a Strapi application without restarts and file writes (aimed at production usage). +This command is there to run a Strapi application without restarts and file writes (aimed at production usage). Certain features are disabled in the `strapi start` mode because they require application restarts. Allowed environment variables: @@ -177,7 +177,7 @@ When running the restore command, you can choose from three different strategies **Alias** `admin:reset-password` Reset an admin user's password. -You can pass the email and new password as options or set them interactivly if you call the command without passing the options. +You can pass the email and new password as options or set them interactively if you call the command without passing the options. **Example** diff --git a/docs/developer-docs/latest/developer-resources/database-apis-reference/query-engine/filtering.md b/docs/developer-docs/latest/developer-resources/database-apis-reference/query-engine/filtering.md index 79f450420e..9c3dd1a3b2 100644 --- a/docs/developer-docs/latest/developer-resources/database-apis-reference/query-engine/filtering.md +++ b/docs/developer-docs/latest/developer-resources/database-apis-reference/query-engine/filtering.md @@ -169,7 +169,7 @@ const entries = strapi.db.query('api::article.article').findMany({ }); ``` -`$in` can be ommited when passing an array of values +`$in` can be omitted when passing an array of values ```js const entries = strapi.db.query('api::article.article').findMany({ diff --git a/docs/developer-docs/latest/developer-resources/database-apis-reference/rest/sort-pagination.md b/docs/developer-docs/latest/developer-resources/database-apis-reference/rest/sort-pagination.md index e280168e8a..6f714577ff 100644 --- a/docs/developer-docs/latest/developer-resources/database-apis-reference/rest/sort-pagination.md +++ b/docs/developer-docs/latest/developer-resources/database-apis-reference/rest/sort-pagination.md @@ -11,7 +11,7 @@ The [REST API](/developer-docs/latest/developer-resources/database-apis-referenc ## Sorting -Queries can accept a `sort` parameter that allow sorting on one or multiple fields with the following syntax: +Queries can accept a `sort` parameter that allows sorting on one or multiple fields with the following syntax: ### Sort using 2 fields diff --git a/docs/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md b/docs/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md index ed79814cea..dd64bbd0dc 100644 --- a/docs/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md +++ b/docs/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md @@ -359,7 +359,7 @@ export default { bootstrap(app) { // Adding several links at once app.addSettingsLinks( - 'global', // id of the section to addd the link in + 'global', // id of the section to add the link in [{ intLabel: { id: String, defaultMessage: String }, id: String, @@ -389,7 +389,7 @@ Injection zones are defined in the [register()](#register) lifecycle but compone Strapi admin panel comes with predefined injection zones so components can be added to the UI of the [Content Manager](/user-docs/latest/content-manager/introduction-to-content-manager.md): - + | View | Injection zone name & Location | | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/docs/developer-docs/latest/developer-resources/plugin-api-reference/server.md b/docs/developer-docs/latest/developer-resources/plugin-api-reference/server.md index e2a5db3bf8..560928d0f5 100644 --- a/docs/developer-docs/latest/developer-resources/plugin-api-reference/server.md +++ b/docs/developer-docs/latest/developer-resources/plugin-api-reference/server.md @@ -9,7 +9,7 @@ canonicalUrl: https://docs.strapi.io/developer-docs/latest/developer-resources/p A Strapi [plugin](/developer-docs/latest/plugins/plugins-intro.md) can interact with the back end or the [front end](/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md) of the Strapi application. The Server API is about the back end part. -Creating and using a plugin interacting with the Server API consists in 2 steps: +Creating and using a plugin interacting with the Server API consists of 2 steps: 1. Declare and export the plugin interface within the [`strapi-server.js` entry file](#entry-file) 2. [Use the exported interface](#usage) @@ -155,7 +155,7 @@ module.exports = { singularName: 'content-type-a', // kebab-case mandatory pluralName: 'content-type-as', // kebab-case mandatory displayName: 'Content Type A', - description: 'A regular content type' + description: 'A regular content type', kind: 'collectionType' }, options: { @@ -386,7 +386,7 @@ module.exports = (options, { strapi }) => { Once a plugin is exported and loaded into Strapi, its features are accessible in the code through getters. The Strapi instance (`strapi`) exposes top-level getters and global getters. -While top-level getters imply chaining functions, global getters are syntactic sugar that allow direct access using a feature's uid: +While top-level getters imply chaining functions, global getters are syntactic sugar that allows direct access using a feature's uid: ```js // Access an API or a plugin controller using a top-level getter