summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-01-10 04:32:37 -0500
committerGitHub <noreply@github.com>2022-01-10 17:32:37 +0800
commit8c647bf0f6b19fe666c645ec16010d07bfe85a63 (patch)
treeeaa322e1244591b00a36b7d79ce416bd1bd932af /templates
parent242dddfcb7cfab1d21c1658828d94f603809a5c7 (diff)
downloadgitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.tar.gz
gitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.zip
Fix various typos (#18219)
Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/base/head.tmpl2
-rw-r--r--templates/swagger/v1_json.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 499c113abf..3068dd4cbb 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -46,7 +46,7 @@
]).values()),
{{end}}
mermaidMaxSourceCharacters: {{MermaidMaxSourceCharacters}},
- {{/* this global i18n object should only contain gereral texts. for specalized texts, it should be provied inside the related modules by: (1) API response (2) HTML data-attribute (3) PageData */}}
+ {{/* this global i18n object should only contain general texts. for specialized texts, it should be provided inside the related modules by: (1) API response (2) HTML data-attribute (3) PageData */}}
i18n: {
copy_success: '{{.i18n.Tr "copy_success"}}',
copy_error: '{{.i18n.Tr "copy_error"}}',
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 50ea3463a6..7588261256 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -13893,7 +13893,7 @@
],
"properties": {
"auto_init": {
- "description": "Whether the repository should be auto-intialized?",
+ "description": "Whether the repository should be auto-initialized?",
"type": "boolean",
"x-go-name": "AutoInit"
},
@@ -16400,7 +16400,7 @@
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"OrganizationPermissions": {
- "description": "OrganizationPermissions list differents users permissions on an organization",
+ "description": "OrganizationPermissions list different users permissions on an organization",
"type": "object",
"properties": {
"can_create_repository": {