summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-06-26 00:50:12 +0200
committerGitHub <noreply@github.com>2022-06-25 17:50:12 -0500
commit711cbcce8d6a193f5738c45861d11cb86b412ec7 (patch)
tree27928afb7a54a2f460b8bb6223dddbf5d8d8bf75 /docs
parenta8cdea013d16635c55ef8ef83a0b4219fe646b77 (diff)
downloadgitea-711cbcce8d6a193f5738c45861d11cb86b412ec7.tar.gz
gitea-711cbcce8d6a193f5738c45861d11cb86b412ec7.zip
Use neutral language in comments and docs (#20135)
- Replace `his/her` to `their`, as it's more neutral language.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/developers/oauth2-provider.md4
-rw-r--r--docs/content/doc/developers/oauth2-provider.zh-tw.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/developers/oauth2-provider.md b/docs/content/doc/developers/oauth2-provider.md
index efe78eed97..ce6e9aad8c 100644
--- a/docs/content/doc/developers/oauth2-provider.md
+++ b/docs/content/doc/developers/oauth2-provider.md
@@ -41,13 +41,13 @@ To use the Authorization Code Grant as a third party application it is required
## Scopes
-Currently Gitea does not support scopes (see [#4300](https://github.com/go-gitea/gitea/issues/4300)) and all third party applications will be granted access to all resources of the user and his/her organizations.
+Currently Gitea does not support scopes (see [#4300](https://github.com/go-gitea/gitea/issues/4300)) and all third party applications will be granted access to all resources of the user and their organizations.
## Example
**Note:** This example does not use PKCE.
-1. Redirect to user to the authorization endpoint in order to get his/her consent for accessing the resources:
+1. Redirect to user to the authorization endpoint in order to get their consent for accessing the resources:
```curl
https://[YOUR-GITEA-URL]/login/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI& response_type=code&state=STATE
diff --git a/docs/content/doc/developers/oauth2-provider.zh-tw.md b/docs/content/doc/developers/oauth2-provider.zh-tw.md
index a2013feac4..179c6342cd 100644
--- a/docs/content/doc/developers/oauth2-provider.zh-tw.md
+++ b/docs/content/doc/developers/oauth2-provider.zh-tw.md
@@ -46,7 +46,7 @@ Gitea 支援作為 OAuth2 提供者,能讓第三方程式能在使用者同意
**備註:** 此範例未使用 PKCE。
1. 重新導向使用者到 authorization endpoint 以獲得他同意授權存取資源:
- <!-- 1. Redirect to user to the authorization endpoint in order to get his/her consent for accessing the resources: -->
+ <!-- 1. Redirect to user to the authorization endpoint in order to get their consent for accessing the resources: -->
```curl
https://[YOUR-GITEA-URL]/login/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI& response_type=code&state=STATE