Browse Source

Simplify description

Unknwon 4 years ago
parent
commit
3137665e6e

+ 1 - 1
README_ZH.md

@@ -1,7 +1,7 @@
 Gogs [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](https://travis-ci.org/gogits/gogs) [![Build status](https://ci.appveyor.com/api/projects/status/b9uu5ejl933e2wlt/branch/master?svg=true)](https://ci.appveyor.com/project/Unknwon/gogs/branch/master)
 =====================
 
-Gogs (Go Git Service) 是一款极易搭建的自助 Git 服务。
+Gogs 是一款极易搭建的自助 Git 服务。
 
 ## 开发目的
 

+ 1 - 1
conf/app.ini

@@ -3,7 +3,7 @@
 # !!! IF YOU ARE PACKAGING PROVIDER, PLEASE MAKE OWN COPY OF IT !!!
 
 ; App name that shows on every page title
-APP_NAME = Gogs: Go Git Service
+APP_NAME = Gogs
 ; The name of the system user that runs Gogs
 RUN_USER = git
 ; Either "dev", "prod" or "test"

+ 2 - 2
gogs.go

@@ -4,7 +4,7 @@
 // Use of this source code is governed by a MIT-style
 // license that can be found in the LICENSE file.
 
-// Gogs (Go Git Service) is a painless self-hosted Git Service.
+// Gogs is a painless self-hosted Git Service.
 package main
 
 import (
@@ -25,7 +25,7 @@ func init() {
 func main() {
 	app := cli.NewApp()
 	app.Name = "Gogs"
-	app.Usage = "Go Git Service: a painless self-hosted Git service"
+	app.Usage = "A painless self-hosted Git service"
 	app.Version = APP_VER
 	app.Commands = []cli.Command{
 		cmd.CmdWeb,

File diff suppressed because it is too large
+ 0 - 0
modules/bindata/bindata.go


+ 1 - 1
modules/setting/setting.go

@@ -384,7 +384,7 @@ func NewContext() {
 	forcePathSeparator(LogRootPath)
 
 	sec := Cfg.Section("server")
-	AppName = Cfg.Section("").Key("APP_NAME").MustString("Gogs: Go Git Service")
+	AppName = Cfg.Section("").Key("APP_NAME").MustString("Gogs")
 	AppUrl = sec.Key("ROOT_URL").MustString("http://localhost:3000/")
 	if AppUrl[len(AppUrl)-1] != '/' {
 		AppUrl += "/"

+ 3 - 7
public/css/gogs.css

@@ -844,18 +844,14 @@ footer .ui.language .menu {
   padding-bottom: 80px;
 }
 .home .logo {
-  max-width: 220px;
   margin-bottom: 20px;
 }
-.home .hero h1,
-.home .hero h2 {
-  font-family: 'PT Sans Narrow', sans-serif, 'Microsoft YaHei';
-}
 .home .hero h1 {
-  font-size: 5.5em;
+  font-size: 4.5em;
 }
 .home .hero h2 {
-  font-size: 3em;
+  margin-top: 0;
+  font-size: 2em;
 }
 .home .hero .octicon {
   color: #d9453d;

+ 3 - 6
public/less/_home.less

@@ -1,18 +1,15 @@
 .home {
 	padding-bottom: @footer-margin * 2;
 	.logo {
-		max-width: 220px;
 		margin-bottom: 20px;
 	}
 	.hero {
-		h1, h2 {
-			font-family: 'PT Sans Narrow', sans-serif, 'Microsoft YaHei';
-		}
 		h1 {
-			font-size: 5.5em;
+			font-size: 4.5em;
 		}
 		h2 {
-			font-size: 3em;
+			margin-top: 0;
+			font-size: 2em;
 		}
 		.octicon {
 			color: #d9453d;

+ 2 - 2
scripts/init/centos/gogs

@@ -2,7 +2,7 @@
 #
 #       /etc/rc.d/init.d/gogs
 #
-#       Runs the Gogs Go Git Service.
+#       Runs the Gogs
 #       
 #
 # chkconfig:   - 85 15 
@@ -27,7 +27,7 @@ NAME=gogs
 GOGS_HOME=/home/git/gogs
 GOGS_PATH=${GOGS_HOME}/$NAME
 GOGS_USER=git
-SERVICENAME="Gogs Go Git Service"
+SERVICENAME="Gogs"
 LOCKFILE=/var/lock/subsys/gogs
 LOGPATH=${GOGS_HOME}/log
 LOGFILE=${LOGPATH}/gogs.log

+ 1 - 1
scripts/init/debian/gogs

@@ -15,7 +15,7 @@
 
 # PATH should only include /usr/* if it runs after the mountnfs.sh script
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="Go Git Service"
+DESC="Gogs"
 NAME=gogs
 SERVICEVERBOSE=yes
 PIDFILE=/var/run/$NAME.pid

+ 2 - 2
scripts/init/suse/gogs

@@ -2,7 +2,7 @@
 #
 #       /etc/init.d/gogs
 #
-#       Runs the Gogs Go Git Service.
+#       Runs the Gogs
 #
 
 ### BEGIN INIT INFO
@@ -21,7 +21,7 @@ NAME=gogs
 GOGS_HOME=/home/git/gogs
 GOGS_PATH=${GOGS_HOME}/$NAME
 GOGS_USER=git
-SERVICENAME="Go Git Service"
+SERVICENAME="Gogs"
 LOCKFILE=/var/lock/subsys/gogs
 LOGPATH=${GOGS_HOME}/log
 LOGFILE=${LOGPATH}/error.log

+ 1 - 1
scripts/systemd/gogs.service

@@ -1,5 +1,5 @@
 [Unit]
-Description=Gogs (Go Git Service)
+Description=Gogs
 After=syslog.target
 After=network.target
 #After=mysqld.service

+ 1 - 1
scripts/windows/install-as-service.bat

@@ -18,7 +18,7 @@ SET gogspath=C:\gogs
 nssm install gogs "%gogspath%\gogs.exe"
 nssm set gogs AppParameters "web"
 nssm set gogs Description "A painless self-hosted Git service."
-nssm set gogs DisplayName "Gogs - Go Git Service"
+nssm set gogs DisplayName "Gogs"
 nssm set gogs Start SERVICE_DELAYED_AUTO_START
 nssm set gogs AppStdout "%gogspath%\gogs.log"
 nssm start gogs

+ 4 - 4
templates/base/head.tmpl

@@ -3,8 +3,8 @@
 <head data-suburl="{{AppSubUrl}}">
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 	<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
-	<meta name="author" content="{{if .Repository}}{{.Owner.Name}}{{else}}Gogs - Go Git Service{{end}}" />
-	<meta name="description" content="{{if .Repository}}{{.Repository.Name}}{{if .Repository.Description}} - {{.Repository.Description}}{{end}}{{else}}Gogs (Go Git Service) is a painless self-hosted Git service{{end}}" />
+	<meta name="author" content="{{if .Repository}}{{.Owner.Name}}{{else}}Gogs{{end}}" />
+	<meta name="description" content="{{if .Repository}}{{.Repository.Name}}{{if .Repository.Description}} - {{.Repository.Description}}{{end}}{{else}}Gogs is a painless self-hosted Git service{{end}}" />
 	<meta name="keywords" content="go, git, self-hosted, gogs">
 	<meta name="referrer" content="no-referrer" />
 	<meta name="_csrf" content="{{.CsrfToken}}" />
@@ -30,9 +30,9 @@
 		<meta property="og:url" content="{{AppUrl}}" />
 		<meta property="og:type" content="website" />
 		<meta property="og:title" content="{{AppName}}">
-		<meta property="og:description" content="Gogs (Go Git Service) is a painless self-hosted Git service.">
+		<meta property="og:description" content="Gogs is a painless self-hosted Git service.">
 		<meta property="og:image" content="{{AppUrl}}img/gogs-lg.png" />
-		<meta property="og:site_name" content="Gogs - Go Git Service">
+		<meta property="og:site_name" content="Gogs">
 	{{end}}
 
 	<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />

+ 3 - 3
templates/home.tmpl

@@ -2,12 +2,12 @@
 <div class="home">
 	<div class="ui stackable middle very relaxed page grid">
 		<div class="sixteen wide center aligned centered column">
-			<div>
-				<img class="logo" src="{{AppSubUrl}}/img/gogs-lg.png" />
+			<div class="logo">
+				<img src="{{AppSubUrl}}/img/favicon.png" />
 			</div>
 			<div class="hero">
 				<h1 class="ui icon header title">
-					Gogs - Go Git Service
+					Gogs
 				</h1>
 				<h2>{{.i18n.Tr "app_desc"}}</h2>
 			</div>

Some files were not shown because too many files changed in this diff