mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-27 07:56:13 +00:00
Add new language support
- Update language choose dropdown to fit more languages
This commit is contained in:
parent
78b8b63774
commit
7049cb9d97
@ -49,7 +49,7 @@ The goal of this project is to make the easiest, fastest, and most painless way
|
||||
- Mail service
|
||||
- Administration panel
|
||||
- Supports MySQL, PostgreSQL, SQLite3 and [TiDB](https://github.com/pingcap/tidb) (experimental)
|
||||
- Multi-language support ([15 languages](https://crowdin.com/project/gogs))
|
||||
- Multi-language support ([17 languages](https://crowdin.com/project/gogs))
|
||||
|
||||
## System Requirements
|
||||
|
||||
|
@ -30,7 +30,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
|
||||
- 支持邮件服务
|
||||
- 支持后台管理面板
|
||||
- 支持 MySQL、PostgreSQL、SQLite3 和 [TiDB](https://github.com/pingcap/tidb)(实验性支持) 数据库
|
||||
- 支持多语言本地化([15 种语言]([more](https://crowdin.com/project/gogs)))
|
||||
- 支持多语言本地化([17 种语言]([more](https://crowdin.com/project/gogs)))
|
||||
|
||||
## 系统要求
|
||||
|
||||
|
@ -339,8 +339,8 @@ CLONE = 300
|
||||
PULL = 300
|
||||
|
||||
[i18n]
|
||||
LANGS = en-US,zh-CN,zh-HK,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI
|
||||
NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen
|
||||
LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR
|
||||
NAMES = English,简体中文,繁體中文(香港),繁體中文(台湾),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türk
|
||||
|
||||
; Used for datetimepicker
|
||||
[i18n.datelang]
|
||||
|
1098
conf/locale/locale_tr-TR.ini
Normal file
1098
conf/locale/locale_tr-TR.ini
Normal file
File diff suppressed because it is too large
Load Diff
1098
conf/locale/locale_zh-TW.ini
Normal file
1098
conf/locale/locale_zh-TW.ini
Normal file
File diff suppressed because it is too large
Load Diff
2
gogs.go
2
gogs.go
@ -17,7 +17,7 @@ import (
|
||||
"github.com/gogits/gogs/modules/setting"
|
||||
)
|
||||
|
||||
const APP_VER = "0.9.22.0422"
|
||||
const APP_VER = "0.9.22.0425"
|
||||
|
||||
func init() {
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
File diff suppressed because one or more lines are too long
@ -150,6 +150,17 @@
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/jquery.are-you-sure.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/jquery.are-you-sure.js",
|
||||
"outputAbbreviatedPath": "\/js\/min\/jquery.are-you-sure-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/semantic-2.1.8.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
@ -521,21 +532,21 @@
|
||||
"outputPathIsSetByUser": 0,
|
||||
"processed": 0
|
||||
},
|
||||
"\/plugins\/simplemde-1.10.0\/simplemde.min.css": {
|
||||
"\/plugins\/simplemde-1.10.1\/simplemde.min.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/plugins\/simplemde-1.10.0\/simplemde.min.css",
|
||||
"inputAbbreviatedPath": "\/plugins\/simplemde-1.10.1\/simplemde.min.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0
|
||||
},
|
||||
"\/plugins\/simplemde-1.10.0\/simplemde.min.js": {
|
||||
"\/plugins\/simplemde-1.10.1\/simplemde.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/plugins\/simplemde-1.10.0\/simplemde.min.js",
|
||||
"outputAbbreviatedPath": "\/plugins\/simplemde-1.10.0\/min\/simplemde.min-min.js",
|
||||
"inputAbbreviatedPath": "\/plugins\/simplemde-1.10.1\/simplemde.min.js",
|
||||
"outputAbbreviatedPath": "\/plugins\/simplemde-1.10.1\/min\/simplemde.min-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
|
@ -312,6 +312,11 @@ footer .container .links > * {
|
||||
footer .container .links > *:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
footer .ui.language .menu {
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
@ -351,6 +351,12 @@ footer {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui.language .menu {
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
.hide {
|
||||
|
@ -1 +1 @@
|
||||
0.9.22.0422
|
||||
0.9.22.0425
|
@ -15,7 +15,7 @@
|
||||
<a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a>
|
||||
<a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></a>
|
||||
{{end}}
|
||||
<div class="ui language bottom pointing slide up dropdown link item">
|
||||
<div class="ui language bottom floating slide up dropdown link item">
|
||||
<i class="world icon"></i>
|
||||
<div class="text">{{.LangName}}</div>
|
||||
<div class="menu">
|
||||
|
Loading…
Reference in New Issue
Block a user