Simplify description

master
Unknwon 2017-02-15 22:29:31 -05:00
parent f35bd34002
commit 3137665e6e
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
14 changed files with 28 additions and 35 deletions

View File

@ -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 服务。
## 开发目的

View File

@ -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"

View File

@ -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 one or more lines are too long

View File

@ -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 += "/"

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

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

View File

@ -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

View File

@ -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" />

View File

@ -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>