aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2016-11-27 12:59:12 +0100
committerBwko <bouwko@gmail.com>2016-11-27 12:59:12 +0100
commita4ece1f22391a3602631ada5cb89797e134c4e13 (patch)
tree890425f7efaee401187306da035395effee6bf76 /routers
parent5efdccd1d8d8edb801e94aacee311929cae1af8e (diff)
downloadgitea-a4ece1f22391a3602631ada5cb89797e134c4e13.tar.gz
gitea-a4ece1f22391a3602631ada5cb89797e134c4e13.zip
Fixes typos
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/setting.go2
-rw-r--r--routers/repo/webhook.go2
-rw-r--r--routers/user/home.go2
-rw-r--r--routers/user/setting.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index aaba5427fc..e29f0fcb1f 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -231,7 +231,7 @@ func SettingsPost(ctx *context.Context, form auth.RepoSettingForm) {
}
return
}
- log.Trace("Repository transfered: %s/%s -> %s", ctx.Repo.Owner.Name, repo.Name, newOwner)
+ log.Trace("Repository transferred: %s/%s -> %s", ctx.Repo.Owner.Name, repo.Name, newOwner)
ctx.Flash.Success(ctx.Tr("repo.settings.transfer_succeed"))
ctx.Redirect(setting.AppSubURL + "/" + newOwner + "/" + repo.Name)
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index 33ad834c95..5a4770cdf3 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -310,7 +310,7 @@ func WebHooksEditPost(ctx *context.Context, form auth.NewWebhookForm) {
ctx.Redirect(fmt.Sprintf("%s/settings/hooks/%d", orCtx.Link, w.ID))
}
-// SlackHooksEditPost reponse for editing slack hook
+// SlackHooksEditPost response for editing slack hook
func SlackHooksEditPost(ctx *context.Context, form auth.NewSlackHookForm) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["PageIsSettingsHooks"] = true
diff --git a/routers/user/home.go b/routers/user/home.go
index 5745791e48..a08fae0727 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -313,7 +313,7 @@ func Issues(ctx *context.Context) {
ctx.HTML(200, tplIssues)
}
-// ShowSSHKeys ouput all the ssh keys of user by uid
+// ShowSSHKeys output all the ssh keys of user by uid
func ShowSSHKeys(ctx *context.Context, uid int64) {
keys, err := models.ListPublicKeys(uid)
if err != nil {
diff --git a/routers/user/setting.go b/routers/user/setting.go
index 018881e8b2..1d405fba37 100644
--- a/routers/user/setting.go
+++ b/routers/user/setting.go
@@ -285,7 +285,7 @@ func SettingsEmailPost(ctx *context.Context, form auth.AddEmailForm) {
ctx.Redirect(setting.AppSubURL + "/user/settings/email")
}
-// DeleteEmail reponse for delete user's email
+// DeleteEmail response for delete user's email
func DeleteEmail(ctx *context.Context) {
if err := models.DeleteEmailAddress(&models.EmailAddress{ID: ctx.QueryInt64("id")}); err != nil {
ctx.Handle(500, "DeleteEmail", err)