From cb93301d45e528890a8342ae4b4db4b3118a2c35 Mon Sep 17 00:00:00 2001
From: yoyo314 <113828810+yoyo314@users.noreply.github.com>
Date: Wed, 5 Oct 2022 19:28:52 +0800
Subject: [PATCH] fix: grammar errors and spelling mistakes (#361)
---
docs/permission/overview.md | 2 +-
docs/products/product.md | 6 +++---
docs/provider/captcha/overview.md | 10 +++++-----
docs/provider/captcha/recaptcha.md | 4 ++--
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/docs/permission/overview.md b/docs/permission/overview.md
index 89b4392f2..367b78022 100644
--- a/docs/permission/overview.md
+++ b/docs/permission/overview.md
@@ -16,7 +16,7 @@ See the following example to get a clearer picture of Casdoor's permission contr
Before using `Permission`, you need to create a `Model` which is abstracted into a CONF file based on the PERM metamodel. You can visit the [Casbin documentation](https://casbin.io/docs/syntax-for-models) for more information. We recommend using the [Casbin Online Editor](https://casbin.org/casbin-editor/) to design the model and check the grammar.
-Click the `Models` tab and add a new model. In the edit page, you can config custom model such as ACL model in the `Model text`.
+Click the `Models` tab and add a new model. In the edit page, you can config customized models such as ACL model in the `Model text`.
```ini
[request_definition]
diff --git a/docs/products/product.md b/docs/products/product.md
index 2072de84a..d629bd933 100644
--- a/docs/products/product.md
+++ b/docs/products/product.md
@@ -4,10 +4,10 @@ description: Add products that you want to sell
keywords: [products]
---
-You can add the product (or service) you want to sell. The following will tell you how to add a product
+You can add the product (or service) you want to sell. The following will tell you how to add a product.
## Configuring Products Attributes
-First, you need to understand the basic properties of the product
+First, you need to understand the basic properties of the product:
`Tag`
`Detail`
`Currency`
@@ -27,7 +27,7 @@ Finally, fill in the **Return URL**. This is the url to jump from the payment pr
is completed.
## Preview the Product
-You're done. see the review and save:
+You're done. See the review and save:
![product_preview](/img/products/product_preview.png)
diff --git a/docs/provider/captcha/overview.md b/docs/provider/captcha/overview.md
index 193ab7180..196ab17b6 100644
--- a/docs/provider/captcha/overview.md
+++ b/docs/provider/captcha/overview.md
@@ -4,7 +4,7 @@ description: Add a captcha to your application
keywords: [captcha]
---
-Casdoor can be configured to support diffrent captcha to check whether the operation is by human. If you add a captcha provider and applied it in the application, when the user login, register or forget password and need send a code, then a captcha check dialog will appear to check whether the operation is by human.
+Casdoor can be configured to support different captchas to check whether the operation is made by human. If you add a captcha provider and applied it in the application, when the user logins, registers or forgets password and needs to send a code, then a captcha check dialog will appear to check whether the operation is made by human.
Now, Casdoor supports many captcha providers. Here are the providers Casdoor supporting:
@@ -13,7 +13,7 @@ Now, Casdoor supports many captcha providers. Here are the providers Casdoor sup
| | | | |
| **✅** | **✅** | **✅** | **✅** |
-We will show you how to apply for a captcha and add it to casdoor.
+We will show you how to apply a captcha and add it to Casdoor.
## Add a captcha provider
@@ -23,10 +23,10 @@ We will show you how to apply for a captcha and add it to casdoor.
4. Click the new provider to modify it
5. Select `Captcha` in `Category`
6. Choose the Captcha provider you need in `Type`
-7. Fill the most import information, diffent captcha provider has different information that need be filled
+7. Fill the most important information, different captcha providers have different information that needs to be filled in
## Applied in application
-1. Click `Applicaton` in the top bar and choose one application, edit
-2. click provider add button, select the provider you just added
+1. Click `Applicaton` in the top bar and choose one application to edit.
+2. Click provider add button, and select the provider you just added.
3. Done!
diff --git a/docs/provider/captcha/recaptcha.md b/docs/provider/captcha/recaptcha.md
index 70d50c21f..7b20ddc57 100644
--- a/docs/provider/captcha/recaptcha.md
+++ b/docs/provider/captcha/recaptcha.md
@@ -10,7 +10,7 @@ reCAPTCHA is provided by Google. And we use reCAPTCHA v2 Checkbox . You can see
To start using reCAPTCHA, you need to [sign up for an API key pair](http://www.google.com/recaptcha/admin) for your site. The key pair consists of a site key and secret key. The site key is used to invoke reCAPTCHA service on your site or mobile application. The secret key authorizes communication between your application backend and the reCAPTCHA server to [verify the user's response](https://developers.google.com/recaptcha/docs/verify).
-First, choose the [type of reCAPTCHA](https://developers.google.com/recaptcha/docs/versions) and then fill in authorized domains or [package names.](https://developer.android.com/guide/topics/manifest/manifest-element.html#package) After you have accepted the terms of service, click **Register** to get new API key pair.
+First, choose the [type of reCAPTCHA](https://developers.google.com/recaptcha/docs/versions) and then fill in authorized domains or [package names.](https://developer.android.com/guide/topics/manifest/manifest-element.html#package) After you have accepted the terms of service, click **Register** to get a new API key pair.
![recaptcha create apiKey](/img/providers/captcha/recaptcha_create_apiKey.png)
@@ -26,7 +26,7 @@ Select category as **Captcha** , type as **reCAPTCHA** . And you need to fulfi
![Recaptcha provider](/img/providers/captcha/recaptcha_provider.png)
-And you can click **Preview** botton to preview the style of this captcha.
+And you can click **Preview** button to preview the style of this captcha.
![Recaptcha preview](/img/providers/captcha/recaptcha_preview.png)