diff options
author | qwerty287 <80460567+qwerty287@users.noreply.github.com> | 2021-12-24 04:56:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-24 11:56:57 +0800 |
commit | 5754080eb9b13e3446443bc7c17cd53d160dfdf2 (patch) | |
tree | 1322ff6aba97c24905380def413af01e67d2d4f7 /docs/content/doc/usage | |
parent | a5df7ba6bf57c764b1c5e4c67dbbdf5b115765c9 (diff) | |
download | gitea-5754080eb9b13e3446443bc7c17cd53d160dfdf2.tar.gz gitea-5754080eb9b13e3446443bc7c17cd53d160dfdf2.zip |
Fix various typos of software names (#18083)
* `git` -> `Git`
* `Github` and `github` -> `GitHub`
* `crowdin` -> `Crowdin`
* `git-lfs` -> `Git LFS`
* `githooks`, `git hooks`, `git-hooks` -> `Git Hooks`
* `discord` -> `Discord`
* `2fa` -> `2FA`
* `gitlab` and `Gitlab` -> `GitLab`
* `web hook` -> `webhook`
* `linux` -> `Linux`
* `sqlite` -> `SQLite`
* `MYSQL` and `mysql` -> `MySQL`
* rename refs to `master` branch -> `main`
* Fix English grammar
Diffstat (limited to 'docs/content/doc/usage')
-rw-r--r-- | docs/content/doc/usage/backup-and-restore.en-us.md | 8 | ||||
-rw-r--r-- | docs/content/doc/usage/command-line.en-us.md | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/content/doc/usage/backup-and-restore.en-us.md b/docs/content/doc/usage/backup-and-restore.en-us.md index fb0216cd1f..fcb669b836 100644 --- a/docs/content/doc/usage/backup-and-restore.en-us.md +++ b/docs/content/doc/usage/backup-and-restore.en-us.md @@ -15,7 +15,7 @@ menu: # Backup and Restore -Gitea currently has a `dump` command that will save the installation to a zip file. This +Gitea currently has a `dump` command that will save the installation to a ZIP file. This file can be unpacked and used to restore an instance. **Table of Contents** @@ -40,7 +40,7 @@ Inside the `gitea-dump-1482906742.zip` file, will be the following: - `app.ini` - Optional copy of configuration file if originally stored outside of the default `custom/` directory - `custom` - All config or customization files in `custom/`. -- `data` - Data directory in <GITEA_WORK_DIR>, except sessions if you are using file session. This directory includes `attachments`, `avatars`, `lfs`, `indexers`, sqlite file if you are using sqlite. +- `data` - Data directory in <GITEA_WORK_DIR>, except sessions if you are using file session. This directory includes `attachments`, `avatars`, `lfs`, `indexers`, SQLite file if you are using SQLite. - `gitea-db.sql` - SQL dump of database - `gitea-repo.zip` - Complete copy of the repository directory. - `log/` - Various logs. They are not needed for a recovery or migration. @@ -90,8 +90,8 @@ psql -U $USER -d $DATABASE < gitea-db.sql service gitea restart ``` -Repository git-hooks should be regenerated if installation method is changed (eg. binary -> Docker), or if Gitea is installed to a different directory than the previous installation. +Repository Git Hooks should be regenerated if installation method is changed (eg. binary -> Docker), or if Gitea is installed to a different directory than the previous installation. With Gitea running, and from the directory Gitea's binary is located, execute: `./gitea admin regenerate hooks` -This ensures that application and configuration file paths in repository git-hooks are consistent and applicable to the current installation. If these paths are not updated, repository `push` actions will fail. +This ensures that application and configuration file paths in repository Git Hooks are consistent and applicable to the current installation. If these paths are not updated, repository `push` actions will fail. diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md index 5e794b56c2..d1938ebccc 100644 --- a/docs/content/doc/usage/command-line.en-us.md +++ b/docs/content/doc/usage/command-line.en-us.md @@ -101,7 +101,7 @@ Admin operations: - `gitea admin user change-password --username myname --password asecurepassword` - `regenerate` - Options: - - `hooks`: Regenerate git-hooks for all repositories + - `hooks`: Regenerate Git Hooks for all repositories - `keys`: Regenerate authorized_keys file - Examples: - `gitea admin regenerate hooks` @@ -129,7 +129,7 @@ Admin operations: - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub). - `--custom-email-url`: Use a custom Email URL (option for GitHub). - `--icon-url`: Custom icon URL for OAuth2 login source. - - `--override-local-2fa`: Allow source to override local 2fa. (Optional) + - `--override-local-2fa`: Allow source to override local 2FA. (Optional) - `--scopes`: Addtional scopes to request for this OAuth2 source. (Optional) - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional) - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional) @@ -152,7 +152,7 @@ Admin operations: - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub). - `--custom-email-url`: Use a custom Email URL (option for GitHub). - `--icon-url`: Custom icon URL for OAuth2 login source. - - `--override-local-2fa`: Allow source to override local 2fa. (Optional) + - `--override-local-2fa`: Allow source to override local 2FA. (Optional) - `--scopes`: Addtional scopes to request for this OAuth2 source. - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional) - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional) @@ -479,7 +479,7 @@ Manage running server operations: ### dump-repo -Dump-repo dumps repository data from git/github/gitea/gitlab: +Dump-repo dumps repository data from Git/GitHub/Gitea/GitLab: - Options: - `--git_service service` : Git service, it could be `git`, `github`, `gitea`, `gitlab`, If clone_addr could be recognized, this could be ignored. |