diff options
author | Joubert RedRat <eu+github@redrat.com.br> | 2016-12-21 10:13:17 -0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-21 20:13:17 +0800 |
commit | ce21ed6c3490cdfad797319cbb1145e2330a8fef (patch) | |
tree | 570c4eded0ca748c651209a0018d0ec7240d59f2 /cmd/serve.go | |
parent | 618407c018cdf668ceedde7454c42fb22ba422d8 (diff) | |
download | gitea-ce21ed6c3490cdfad797319cbb1145e2330a8fef.tar.gz gitea-ce21ed6c3490cdfad797319cbb1145e2330a8fef.zip |
Remove remaining Gogs reference on locales and cmd (#430)
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index 53a5c3bef0..26876f2de0 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -1,4 +1,5 @@ // Copyright 2014 The Gogs Authors. All rights reserved. +// Copyright 2016 The Gitea Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. @@ -76,7 +77,7 @@ var ( ) func fail(userMessage, logMessage string, args ...interface{}) { - fmt.Fprintln(os.Stderr, "Gogs:", userMessage) + fmt.Fprintln(os.Stderr, "Gitea:", userMessage) if len(logMessage) > 0 { if !setting.ProdMode { @@ -144,7 +145,7 @@ func runServ(c *cli.Context) error { setup("serv.log") if setting.SSH.Disabled { - println("Gogs: SSH has been disabled") + println("Gitea: SSH has been disabled") return nil } @@ -154,8 +155,8 @@ func runServ(c *cli.Context) error { cmd := os.Getenv("SSH_ORIGINAL_COMMAND") if len(cmd) == 0 { - println("Hi there, You've successfully authenticated, but Gogs does not provide shell access.") - println("If this is unexpected, please log in with password and setup Gogs under another user.") + println("Hi there, You've successfully authenticated, but Gitea does not provide shell access.") + println("If this is unexpected, please log in with password and setup Gitea under another user.") return nil } |