UI: install - done
This commit is contained in:
parent
5cf3732339
commit
b9dc2147b4
21 changed files with 688 additions and 426 deletions
|
@ -52,7 +52,7 @@ The goal of this project is to make the easiest, fastest, and most painless way
|
|||
- Drone CI integration
|
||||
- Supports MySQL, PostgreSQL and SQLite3
|
||||
- Social account login (GitHub, Google, QQ, Weibo)
|
||||
- Multi-language support ([11 languages](https://crowdin.com/project/gogs))
|
||||
- Multi-language support ([12 languages](https://crowdin.com/project/gogs))
|
||||
|
||||
## System Requirements
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
|
|||
- Drone CI 持续部署集成
|
||||
- 支持 MySQL、PostgreSQL 以及 SQLite3 数据库
|
||||
- 社交帐号登录(GitHub、Google、QQ、微博)
|
||||
- 多语言支持([11 种语言]([more](https://crowdin.com/project/gogs)))
|
||||
- 多语言支持([12 种语言]([more](https://crowdin.com/project/gogs)))
|
||||
|
||||
## 系统要求
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Code
|
|||
install=Installation
|
||||
title=Installation für erstmaligen Start
|
||||
requite_db_desc=Gogs erfordert MySQL, PostgreSQL oder SQLite 3, aber SQLite3 ist in der offiziellen binären Version akiviert.
|
||||
db_title=Database Settings
|
||||
db_type=Datenbanktyp
|
||||
host=Host
|
||||
user=Benutzer
|
||||
|
@ -59,7 +60,11 @@ db_helper=Bitte verwenden InnoDB-Engine mit utf8_general_ci Zeichensatz für MyS
|
|||
ssl_mode=SSL-Modus
|
||||
path=Pfad
|
||||
sqlite_helper=Der Dateipfad des SQLite3 Datenbank.
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Allgemeine Einstellungen von Gogs
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Repository Root-Verzeichnispfad
|
||||
repo_path_helper=Alle Git-Repositorys werden in diesem Verzeichnis gespeichert.
|
||||
run_user=Ausführender Benutzer
|
||||
|
@ -70,13 +75,22 @@ http_port=HTTP Port
|
|||
http_port_helper=Auf dieser Port Nummer ist die Apllikation erreichbar.
|
||||
app_url=Anwendungs-URL
|
||||
app_url_helper=Dies hat Auswirkung auf die HTTP/HTTPS clone URLs und für die E-Mails.
|
||||
email_title=E-Mail-Service Einstellungen (optional)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=E-Mail-Service Einstellungen
|
||||
smtp_host=SMTP Host
|
||||
mailer_user=Sender E-mail
|
||||
mailer_password=Sender Passwort
|
||||
notify_title=Benachrichtigungseinstellungen (optional)
|
||||
register_confirm=Registrierungsbestätigung aktvieren
|
||||
mail_notify=E-Mail-Benachrichtgung aktivieren
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Konto-Einstellungen für den Administrator
|
||||
admin_name=Benutzername
|
||||
admin_password=Passwort
|
||||
|
@ -619,7 +633,7 @@ auths.smtp_auth=SMTP-Authentifizierungstyp
|
|||
auths.smtphost=SMTP-Host
|
||||
auths.smtpport=SMTP-Port
|
||||
auths.enable_tls=TLS-Verschlüsselung aktivieren
|
||||
auths.pam_service_name=PAM Service Name
|
||||
auths.pam_service_name=PAM Dienstname
|
||||
auths.enable_auto_register=Automatische Registrierung aktivieren
|
||||
auths.tips=Tipps
|
||||
auths.edit=Authentifizierungseinstellungen bearbeiten
|
||||
|
@ -668,7 +682,7 @@ config.deliver_timeout=Zeitlimit für Zustellung
|
|||
config.skip_tls_verify=TLS verifikation überspringen
|
||||
config.mailer_config=Mailer-Einstellungen
|
||||
config.mailer_enabled=Aktiviert
|
||||
config.mailer_disable_helo=Disable HELO
|
||||
config.mailer_disable_helo=HELO Deaktivieren
|
||||
config.mailer_name=Name
|
||||
config.mailer_host=Host
|
||||
config.mailer_user=Benutzer
|
||||
|
|
|
@ -63,6 +63,8 @@ sqlite_helper = The file path of SQLite3 database.
|
|||
err_empty_sqlite_path = SQLite3 database path cannot be empty.
|
||||
|
||||
general_title = Application General Settings
|
||||
app_name = Application Name
|
||||
app_name_helper = Put your organization name here huge and loud!
|
||||
repo_path = Repository Root Path
|
||||
repo_path_helper = All Git remote repositories will be saved to this directory.
|
||||
run_user = Run User
|
||||
|
@ -79,9 +81,15 @@ email_title = E-mail Service Settings
|
|||
smtp_host = SMTP Host
|
||||
mailer_user = Sender E-mail
|
||||
mailer_password = Sender Password
|
||||
notify_title = Notification Settings
|
||||
register_confirm = Enable Register Confirmation
|
||||
mail_notify = Enable Mail Notification
|
||||
server_service_title = Server and Other Services Settings
|
||||
offline_mode = Enable Offline Mode
|
||||
offline_mode_popup = Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration = Disable Self-registration
|
||||
disable_registration_popup = Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view = Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup = Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc = You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title = Admin Account Settings
|
||||
admin_name = Username
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Código
|
|||
install=Instalación
|
||||
title=Pasos de la instalación por primera vez
|
||||
requite_db_desc=Gogs necesita MySQL, PostgreSQL o SQLite3.
|
||||
db_title=Database Settings
|
||||
db_type=Tipo de base de datos
|
||||
host=Anfitrión
|
||||
user=Usuario
|
||||
|
@ -59,7 +60,11 @@ db_helper=Por favor utilice el motor INNODB con la configuración de caracteres
|
|||
ssl_mode=Modo SSL
|
||||
path=Ruta
|
||||
sqlite_helper=Ruta del archivo de la base de datos de SQLite3.
|
||||
general_title=Configuraciones Generales de Gogs
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Configuración General de Gogs
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Ruta del repositorio de Raiz (Root)
|
||||
repo_path_helper=Todos los repositorios remotos de Git se guardarán en este directorio.
|
||||
run_user=Abrir el usuario
|
||||
|
@ -70,13 +75,22 @@ http_port=Puerto HTTP
|
|||
http_port_helper=Puerto en el que escuchará la aplicación.
|
||||
app_url=URL de la aplicación
|
||||
app_url_helper=Esto afecta a las URLs para clonar por HTTP/HTTPS y a algunos correos electrónicos.
|
||||
email_title=Configuración del Servicio de Correo (Opcional)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=Configuración del Servicio de Correo
|
||||
smtp_host=SMTP Host
|
||||
mailer_user=Remitente del Correo Electrónico
|
||||
mailer_password=Contraseña del Remitente
|
||||
notify_title=Configuración de Notificaciones (Opcional)
|
||||
register_confirm=Habilitar la Confirmación en el Registro
|
||||
mail_notify=Habilitar las Notificaciones de Correo
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Configuración de la Cuenta de Administrador
|
||||
admin_name=Nombre de usuario
|
||||
admin_password=Contraseña
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Code
|
|||
install=Installation
|
||||
title=Instructions de Première Installation
|
||||
requite_db_desc=Gogs nécessite MySQL, PostgreSQL ou SQLite3.
|
||||
db_title=Database Settings
|
||||
db_type=Type de Base de Données
|
||||
host=Hôte
|
||||
user=Utilisateur
|
||||
|
@ -59,7 +60,11 @@ db_helper=Veuillez utiliser le moteur INNODB avec le jeu de caractères utf8_gen
|
|||
ssl_mode=Mode SSL
|
||||
path=Chemin
|
||||
sqlite_helper=Emplacement du fichier de la base de données SQLite3.
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Paramètres Généraux de Gogs
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Emplacement Racine du Référentiel
|
||||
repo_path_helper=Tous les Référentiels Git distants seront sauvegardés ici.
|
||||
run_user=Entrer un Utilisateur
|
||||
|
@ -70,13 +75,22 @@ http_port=Port HTTP
|
|||
http_port_helper=Numéro de port que l'application écoutera.
|
||||
app_url=URL de l'Application
|
||||
app_url_helper=Cela affecte les doublons d'URL HTTP/HTTPS et le contenu d'e-mail.
|
||||
email_title=Paramètres du Service de Messagerie (Facultatif)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=Paramètres du Service de Messagerie
|
||||
smtp_host=Hôte SMTP
|
||||
mailer_user=E-mail de l'Expéditeur
|
||||
mailer_password=Mot de Passe de l'Expéditeur
|
||||
notify_title=Paramètre des Notifications (Facultatif)
|
||||
register_confirm=Activer la Confirmation d'Enregistrement
|
||||
mail_notify=Activer la Notification des Mails reçus
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Paramètres du Compte Administrateur
|
||||
admin_name=Nom d'Utilisateur
|
||||
admin_password=Mot de Passe
|
||||
|
|
|
@ -50,6 +50,7 @@ code=コード
|
|||
install=インストール
|
||||
title=初回実行のインストール手順
|
||||
requite_db_desc=Gogs には、MySQL や PostgreSQL 、SQLite3 が必要です。
|
||||
db_title=Database Settings
|
||||
db_type=データベースの種類
|
||||
host=ホスト
|
||||
user=ユーザ
|
||||
|
@ -59,7 +60,11 @@ db_helper=Mysql INNODB エンジン utf8_general_ci の文字セットを使用
|
|||
ssl_mode=SSL モード
|
||||
path=パス
|
||||
sqlite_helper=SQLite3 データベースのファイル パス
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Gogs の全般設定
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=リポジトリのルートパス
|
||||
repo_path_helper=すべての Git リモート リポジトリはこのディレクトリに保存されます。
|
||||
run_user=実行ユーザ
|
||||
|
@ -70,13 +75,22 @@ http_port=HTTP ポート
|
|||
http_port_helper=アプリケーションが待ち受けするポート番号。
|
||||
app_url=アプリケーションの URL
|
||||
app_url_helper=この設定は、HTTP / HTTPSのクローンURLおよび、一部のメールボックスへのリンクに影響を与えます。
|
||||
email_title=E-mailサービス設定(Optional)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=E-mailサービス設定
|
||||
smtp_host=SMTP ホスト
|
||||
mailer_user=送信者の電子メール
|
||||
mailer_password=送信者のパスワード
|
||||
notify_title=通知 Settings(Optional)
|
||||
register_confirm=登録の確認を有効にする
|
||||
mail_notify=メール通知を有効にする
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=管理者アカウントの設定
|
||||
admin_name=ユーザ名
|
||||
admin_password=パスワード
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Code
|
|||
install=Instalācija
|
||||
title=Instalācijas soļi pirmo reizi palaižot
|
||||
requite_db_desc=Gogs ir nepieciešama MySQL, PostgreSQL vai SQLite3 datu bāze.
|
||||
db_title=Database Settings
|
||||
db_type=Datu bāzes veids
|
||||
host=Resursdators
|
||||
user=Lietotājs
|
||||
|
@ -59,7 +60,11 @@ db_helper=Nepieciešams izmantot MySQL INNODB dzini ar rakstzīmju kopu utf8_gen
|
|||
ssl_mode=SSL režīms
|
||||
path=Ceļš
|
||||
sqlite_helper=SQLite 3 datu bāzes faila atrašanās vieta.
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Gogs vispārīgie iestatījumi
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Repozitoriju glabāšanas vieta
|
||||
repo_path_helper=Visi Git attālinātie repozitoriji tiks glabāti šajā direktorijā.
|
||||
run_user=Izpildes lietotājs
|
||||
|
@ -70,13 +75,22 @@ http_port=HTTP ports
|
|||
http_port_helper=Porta numurs pēc kura lietojumprogrammai būs iespējams pieslēgties.
|
||||
app_url=Lietotnes URL
|
||||
app_url_helper=Tas ietekmē HTTP/HTTPS klonēšanas URL un e-pasta saturā izsūtītās saites.
|
||||
email_title=E-pasta pakalpojuma iestatījumi (neobligāti)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=E-pasta pakalpojuma iestatījumi
|
||||
smtp_host=SMTP resursdators
|
||||
mailer_user=Sūtītāja e-pasta adrese
|
||||
mailer_password=Sūtītāja parole
|
||||
notify_title=Paziņojumu iestatījumi (neobligāti)
|
||||
register_confirm=Iespējot reģistrēšanās apstiprināšanu
|
||||
mail_notify=Iespējot e-pasta paziņojumus
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Admin konta iestatījumi
|
||||
admin_name=Lietotājvārds
|
||||
admin_password=Parole
|
||||
|
@ -619,6 +633,7 @@ auths.smtp_auth=SMTP autorizācijas veids
|
|||
auths.smtphost=SMTP resursdators
|
||||
auths.smtpport=SMTP ports
|
||||
auths.enable_tls=Iespējot TLS šifrēšanu
|
||||
auths.pam_service_name=PAM Service Name
|
||||
auths.enable_auto_register=Iespējot automātisko reģistrāciju
|
||||
auths.tips=Padomi
|
||||
auths.edit=Labot autorizācijas iestatījumus
|
||||
|
@ -667,6 +682,7 @@ config.deliver_timeout=Piegādes noildze
|
|||
config.skip_tls_verify=Izlaist TLS pārbaudi
|
||||
config.mailer_config=Sūtītāja konfigurācija
|
||||
config.mailer_enabled=Iespējots
|
||||
config.mailer_disable_helo=Disable HELO
|
||||
config.mailer_name=Nosaukums
|
||||
config.mailer_host=Resursdators
|
||||
config.mailer_user=Lietotājs
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Code
|
|||
install=Installatie
|
||||
title=Installatiestappen voor de eerste keer opstarten
|
||||
requite_db_desc=Om Gogs te gebruiken is MySQL, PostgreSQL of SQLite3 vereist (SQLite3 is beschikbaar in de officiële versie).
|
||||
db_title=Database Settings
|
||||
db_type=Database-type
|
||||
host=Host
|
||||
user=Gebruikersnaam
|
||||
|
@ -59,7 +60,11 @@ db_helper=Gebruik InnoDB engine met utf8_general_ci karakterset voor MySQL.
|
|||
ssl_mode=SSL-modus
|
||||
path=Pad
|
||||
sqlite_helper=Het pad naar de SQLite3 database.
|
||||
general_title=Algemene instellingen van Gogs
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Toepassing algemene instellingen
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Repositories basis directorie
|
||||
repo_path_helper=Alle remote Git repositories worden in deze directorie opgeslagen
|
||||
run_user=Uitvoerende gebruikersnaam
|
||||
|
@ -70,13 +75,22 @@ http_port=HTTP-poort
|
|||
http_port_helper=Poortnummer waar het programma naar luistert.
|
||||
app_url=Applicatie URL
|
||||
app_url_helper=Dit heeft invloed op de HTTP/HTTPS kloon urls en de urls die in de email worden gebruikt
|
||||
email_title=E-mail service instellingen (Optioneel)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=E-mail service instellingen
|
||||
smtp_host=SMTP host
|
||||
mailer_user=Afzender e-mail / gebruikersnaam
|
||||
mailer_password=Wachtwoord
|
||||
notify_title=Notificatie-instelligen (optioneel)
|
||||
register_confirm=Activeer registratie emails
|
||||
mail_notify=Activeer e-mailnotificaties
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Instellingen beheerdersaccount
|
||||
admin_name=Gebruikersnaam
|
||||
admin_password=Wachtwoord
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Kod
|
|||
install=Instalacja
|
||||
title=Kroki instalacyjne dla pierwszego uruchomienia
|
||||
requite_db_desc=Gogs wymaga MySQL, PostgreSQL lub SQLite3.
|
||||
db_title=Database Settings
|
||||
db_type=Typ bazy danych
|
||||
host=Host
|
||||
user=Użytkownik
|
||||
|
@ -59,7 +60,11 @@ db_helper=Proszę użyć silnika INNODB z kodowaniem utf8_general_ci dla MySQL.
|
|||
ssl_mode=Tryb SSL
|
||||
path=Ścieżka
|
||||
sqlite_helper=Ścieżka do bazy SQLite3.
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Ustawienia ogólne Gogs
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Katalog repozytoriów
|
||||
repo_path_helper=W tym katalogu zostaną zapisane wszystkie repozytoria Git.
|
||||
run_user=Nazwa użytkownika uruchomieniowego
|
||||
|
@ -70,13 +75,22 @@ http_port=Port HTTP
|
|||
http_port_helper=Numer portu na którym aplikacja jest dostępna.
|
||||
app_url=Adres URL aplikacji
|
||||
app_url_helper=To wpłynie na adresy klonowania HTTP/HTTPS i w wiadomościach e-mail.
|
||||
email_title=Ustawienia serwera e-mail (opcjonalne)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=Ustawienia serwera e-mail
|
||||
smtp_host=Serwer SMTP
|
||||
mailer_user=Nadawca wiadomości E-mail
|
||||
mailer_password=Hasło nadawcy
|
||||
notify_title=Ustawienia powiadomień (opcjonalne)
|
||||
register_confirm=Włącz potwierdzenia rejestracji
|
||||
mail_notify=Włącz powiadomienia e-mail
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Ustawienia konta administratora
|
||||
admin_name=Nazwa Użytkownika
|
||||
admin_password=Hasło
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Código
|
|||
install=Instalação
|
||||
title=Etapas de instalação para Primeira Execução
|
||||
requite_db_desc=Gogs requer MySQL, PostgreSQL ou SQLite3.
|
||||
db_title=Database Settings
|
||||
db_type=Tipo do Banco de Dados
|
||||
host=Host
|
||||
user=Usuário
|
||||
|
@ -59,7 +60,11 @@ db_helper=Por favor, use o mecanismo INNODB com o conjunto de caracteres utf8_ge
|
|||
ssl_mode=Modo SSL
|
||||
path=Caminho
|
||||
sqlite_helper=O caminho do arquivo do banco de dados do SQLite3.
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Configurações Gerais do Gogs
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Caminho da Raiz do Repositório
|
||||
repo_path_helper=Todos os repositórios remotos do Git serão salvos neste diretório.
|
||||
run_user=Executar Usuário
|
||||
|
@ -70,13 +75,22 @@ http_port=Porta HTTP
|
|||
http_port_helper=Número da porta em que a aplicação irá executar.
|
||||
app_url=URL do Aplicativo
|
||||
app_url_helper=Isto afeta a URL de clonagem via HTTP/HTTPs e também o email.
|
||||
email_title=Configurações do Serviço de E-mail(Opcionais)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=Configurações do Serviço de E-mail
|
||||
smtp_host=Host SMTP
|
||||
mailer_user=E-mail do Remetente
|
||||
mailer_password=Senha do Remetente
|
||||
notify_title=Configurações de Notificação (Opcional)
|
||||
register_confirm=Habilitar Confirmação de Registro
|
||||
mail_notify=Habilitar Notificação de Correio
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Configurações da Conta de Administrador
|
||||
admin_name=Nome de Usuário
|
||||
admin_password=Senha
|
||||
|
|
|
@ -50,6 +50,7 @@ code=Код
|
|||
install=Установка
|
||||
title=Установочные шаги для первого запуска
|
||||
requite_db_desc=Для Gogs требуется MySQL, PostgreSQL или SQLite3.
|
||||
db_title=Database Settings
|
||||
db_type=Тип базы данных
|
||||
host=Хост
|
||||
user=Пользователь
|
||||
|
@ -59,7 +60,11 @@ db_helper=Для MySQL используйте тип таблиц InnoDB с ко
|
|||
ssl_mode=Режим SSL
|
||||
path=Путь
|
||||
sqlite_helper=Путь к файлу базы данных SQLite3.
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=Общие параметры Gogs
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=Путь корня репозитория
|
||||
repo_path_helper=Все удаленные репозитории Git будут сохранены в этой директории.
|
||||
run_user=Пользователь
|
||||
|
@ -70,13 +75,22 @@ http_port=Порт HTTP
|
|||
http_port_helper=Номер порта, который приложение будет слушать.
|
||||
app_url=URL приложения
|
||||
app_url_helper=Этот параметр влияет на URL для клонирования по HTTP/HTTPS и на адреса в электронной почте.
|
||||
email_title=Настройки службы электронной почты (опционально)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=Настройки службы электронной почты
|
||||
smtp_host=Узел SMTP
|
||||
mailer_user=Электронная почта отправителя
|
||||
mailer_password=Пароль отправителя
|
||||
notify_title=Настройки уведомлений(опционально)
|
||||
register_confirm=Включить подтверждение регистрации
|
||||
mail_notify=Разрешить почтовые уведомления
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=Настройки учётной записи администратора
|
||||
admin_name=Имя пользователя
|
||||
admin_password=Пароль
|
||||
|
|
|
@ -50,6 +50,7 @@ code=代码
|
|||
install=安装页面
|
||||
title=首次运行安装程序
|
||||
requite_db_desc=Gogs 允许后端数据库为 MySQL、PostgreSQL 或 SQLite3。
|
||||
db_title=数据库设置
|
||||
db_type=数据库类型
|
||||
host=数据库主机
|
||||
user=数据库用户
|
||||
|
@ -59,7 +60,11 @@ db_helper=如果您使用 MySQL,请使用 INNODB 引擎以及 utf8_general_ci
|
|||
ssl_mode=SSL 模式
|
||||
path=数据库文件路径
|
||||
sqlite_helper=SQLite3 数据库的文件路径。
|
||||
err_empty_sqlite_path=SQLite 数据库文件路径不能为空。
|
||||
|
||||
general_title=应用基本设置
|
||||
app_name=应用名称
|
||||
app_name_helper=快用狂拽酷炫的组织名称闪瞎我们!
|
||||
repo_path=仓库根目录
|
||||
repo_path_helper=所有 Git 远程仓库都将被存放于该目录。
|
||||
run_user=运行系统用户
|
||||
|
@ -70,13 +75,22 @@ http_port=HTTP 端口号
|
|||
http_port_helper=应用监听的端口号
|
||||
app_url=应用 URL
|
||||
app_url_helper=该设置影响 HTTP/HTTPS 克隆地址和一些邮箱中的链接。
|
||||
email_title=邮件服务设置(可选)
|
||||
|
||||
optional_title=可选设置
|
||||
email_title=邮件服务设置
|
||||
smtp_host=SMTP 主机
|
||||
mailer_user=发送邮箱
|
||||
mailer_password=发送邮箱密码
|
||||
notify_title=通知提醒设置(可选)
|
||||
register_confirm=启用注册邮箱确认
|
||||
mail_notify=启用邮件通知提醒
|
||||
server_service_title=服务器和其它服务设置
|
||||
offline_mode=启用离线模式
|
||||
offline_mode_popup=在部署模式下也禁用从 CDN 获取文件,所以的资源都将从本地服务器获取。
|
||||
disable_registration=禁止用户自主注册
|
||||
disable_registration_popup=禁止用户自行注册功能,只有管理员可以添加帐号。
|
||||
require_sign_in_view=启用登录访问限制
|
||||
require_sign_in_view_popup=只有已登录的用户才能够访问页面,否则将只能看到登录或注册页面。
|
||||
admin_setting_desc=创建管理员帐号并不是必须的,因为 ID=1 的用户将自动获得管理员权限。
|
||||
admin_title=管理员帐号设置
|
||||
admin_name=管理员用户名
|
||||
admin_password=管理员密码
|
||||
|
|
|
@ -50,6 +50,7 @@ code=程式碼
|
|||
install=安裝頁面
|
||||
title=首次執行安裝程序
|
||||
requite_db_desc=Gogs 允許後端數據庫為 MySQL、PostgreSQL 或 SQLite3,但是 SQLite3 一般只有官方二進制發行版才支持。
|
||||
db_title=Database Settings
|
||||
db_type=數據庫類型
|
||||
host=數據庫主機
|
||||
user=數據庫用戶
|
||||
|
@ -59,7 +60,11 @@ db_helper=如果您使用 MySQL,請使用 INNODB 引擎以及 utf8_general_ci
|
|||
ssl_mode=SSL 模式
|
||||
path=數據庫文件路徑
|
||||
sqlite_helper=SQLite3 數據庫的文件路徑。
|
||||
err_empty_sqlite_path=SQLite3 database path cannot be empty.
|
||||
|
||||
general_title=應用基本設置
|
||||
app_name=Application Name
|
||||
app_name_helper=Put your organization name here huge and loud!
|
||||
repo_path=倉庫根目錄
|
||||
repo_path_helper=所有 Git 遠程倉庫都將被存放於該目錄。
|
||||
run_user=執行系統用戶
|
||||
|
@ -70,13 +75,22 @@ http_port=HTTP 端口號
|
|||
http_port_helper=應用監聽的端口號
|
||||
app_url=應用 URL
|
||||
app_url_helper=該設置影響 HTTP/HTTPS 複製地址和一些郵箱中的連結。
|
||||
email_title=電子郵件服務設定(可選)
|
||||
|
||||
optional_title=Optional Settings
|
||||
email_title=電子郵件服務設定
|
||||
smtp_host=SMTP 主機
|
||||
mailer_user=發送郵箱
|
||||
mailer_password=發送郵箱密碼
|
||||
notify_title=通知提醒設置(可選)
|
||||
register_confirm=啟用註冊郵箱確認
|
||||
mail_notify=啟用郵件通知提醒
|
||||
server_service_title=Server and Other Services Settings
|
||||
offline_mode=Enable Offline Mode
|
||||
offline_mode_popup=Disable CDN even in production mode, all resource files will be served locally.
|
||||
disable_registration=Disable Self-registration
|
||||
disable_registration_popup=Disable user self-registration, only admin can create accounts.
|
||||
require_sign_in_view=Enable Require Sign In to View Pages
|
||||
require_sign_in_view_popup=Only signed in users can view pages, visitors will only be able to see sign in/up pages.
|
||||
admin_setting_desc=You do not have to create an admin account right now, user whoever ID=1 will gain admin access automatically.
|
||||
admin_title=管理員帳號設置
|
||||
admin_name=管理員用戶名
|
||||
admin_password=管理員密碼
|
||||
|
|
2
gogs.go
2
gogs.go
|
@ -17,7 +17,7 @@ import (
|
|||
"github.com/gogits/gogs/modules/setting"
|
||||
)
|
||||
|
||||
const APP_VER = "0.6.1.0708 Beta"
|
||||
const APP_VER = "0.6.1.0709 Beta"
|
||||
|
||||
func init() {
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
|
|
@ -12,23 +12,31 @@ import (
|
|||
)
|
||||
|
||||
type InstallForm struct {
|
||||
DbType string `binding:"Required"`
|
||||
DbHost string
|
||||
DbUser string
|
||||
DbPasswd string
|
||||
DbName string
|
||||
SSLMode string `form:"ssl_mode"`
|
||||
DbPath string
|
||||
RepoRootPath string `binding:"Required"`
|
||||
RunUser string `binding:"Required"`
|
||||
Domain string `binding:"Required"`
|
||||
HTTPPort string `form:"http_port" binding:"Required"`
|
||||
AppUrl string `binding:"Required"`
|
||||
SMTPHost string `form:"smtp_host"`
|
||||
SMTPEmail string `form:"smtp_user" binding:"OmitEmpty;Email;MaxSize(50)" locale:"install.mailer_user"`
|
||||
SMTPPasswd string `form:"smtp_passwd"`
|
||||
RegisterConfirm bool
|
||||
MailNotify bool
|
||||
DbType string `binding:"Required"`
|
||||
DbHost string
|
||||
DbUser string
|
||||
DbPasswd string
|
||||
DbName string
|
||||
SSLMode string `form:"ssl_mode"`
|
||||
DbPath string
|
||||
|
||||
AppName string `binding:"Required" locale:"install.app_name"`
|
||||
RepoRootPath string `binding:"Required"`
|
||||
RunUser string `binding:"Required"`
|
||||
Domain string `binding:"Required"`
|
||||
HTTPPort string `form:"http_port" binding:"Required"`
|
||||
AppUrl string `binding:"Required"`
|
||||
|
||||
SMTPHost string `form:"smtp_host"`
|
||||
SMTPEmail string `form:"smtp_user" binding:"OmitEmpty;Email;MaxSize(50)" locale:"install.mailer_user"`
|
||||
SMTPPasswd string `form:"smtp_passwd"`
|
||||
RegisterConfirm bool
|
||||
MailNotify bool
|
||||
|
||||
OfflineMode bool
|
||||
DisableRegistration bool
|
||||
RequireSignInView bool
|
||||
|
||||
AdminName string `binding:"OmitEmpty;AlphaDashDot;MaxSize(30)" locale:"install.admin_name"`
|
||||
AdminPasswd string `binding:"OmitEmpty;MinSize(6);MaxSize(255)" locale:"install.admin_password"`
|
||||
AdminConfirmPasswd string
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -40,6 +40,7 @@ $(document).ready(function () {
|
|||
});
|
||||
$('.ui.accordion').accordion();
|
||||
$('.ui.checkbox').checkbox();
|
||||
$('.poping.up').popup();
|
||||
|
||||
initInstall();
|
||||
});
|
|
@ -90,11 +90,20 @@ func InstallInit(ctx *middleware.Context) {
|
|||
func Install(ctx *middleware.Context) {
|
||||
form := auth.InstallForm{}
|
||||
|
||||
// Database settings
|
||||
form.DbHost = models.DbCfg.Host
|
||||
form.DbUser = models.DbCfg.User
|
||||
form.DbName = models.DbCfg.Name
|
||||
form.DbPath = models.DbCfg.Path
|
||||
|
||||
curDbOp := ""
|
||||
if models.EnableSQLite3 {
|
||||
curDbOp = "SQLite3" // Default when enabled.
|
||||
}
|
||||
ctx.Data["CurDbOption"] = curDbOp
|
||||
|
||||
// Application general settings
|
||||
form.AppName = setting.AppName
|
||||
form.RepoRootPath = setting.RepoRootPath
|
||||
|
||||
// Note(unknwon): it's hard for Windows users change a running user,
|
||||
|
@ -112,11 +121,18 @@ func Install(ctx *middleware.Context) {
|
|||
form.HTTPPort = setting.HttpPort
|
||||
form.AppUrl = setting.AppUrl
|
||||
|
||||
curDbOp := ""
|
||||
if models.EnableSQLite3 {
|
||||
curDbOp = "SQLite3" // Default when enabled.
|
||||
// E-mail service settings
|
||||
if setting.MailService != nil {
|
||||
form.SMTPHost = setting.MailService.Host
|
||||
form.SMTPEmail = setting.MailService.User
|
||||
}
|
||||
ctx.Data["CurDbOption"] = curDbOp
|
||||
form.RegisterConfirm = setting.Service.RegisterEmailConfirm
|
||||
form.MailNotify = setting.Service.EnableNotifyMail
|
||||
|
||||
// Server and other services settings
|
||||
form.OfflineMode = setting.OfflineMode
|
||||
form.DisableRegistration = setting.Service.DisableRegistration
|
||||
form.RequireSignInView = setting.Service.RequireSignInView
|
||||
|
||||
auth.AssignForm(form, ctx.Data)
|
||||
ctx.HTML(200, INSTALL)
|
||||
|
@ -219,6 +235,7 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) {
|
|||
cfg.Section("database").Key("SSL_MODE").SetValue(models.DbCfg.SSLMode)
|
||||
cfg.Section("database").Key("PATH").SetValue(models.DbCfg.Path)
|
||||
|
||||
cfg.Section("").Key("APP_NAME").SetValue(form.AppName)
|
||||
cfg.Section("repository").Key("ROOT").SetValue(form.RepoRootPath)
|
||||
cfg.Section("").Key("RUN_USER").SetValue(form.RunUser)
|
||||
cfg.Section("server").Key("DOMAIN").SetValue(form.Domain)
|
||||
|
@ -230,10 +247,15 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) {
|
|||
cfg.Section("mailer").Key("HOST").SetValue(form.SMTPHost)
|
||||
cfg.Section("mailer").Key("USER").SetValue(form.SMTPEmail)
|
||||
cfg.Section("mailer").Key("PASSWD").SetValue(form.SMTPPasswd)
|
||||
|
||||
cfg.Section("service").Key("REGISTER_EMAIL_CONFIRM").SetValue(com.ToStr(form.RegisterConfirm))
|
||||
cfg.Section("service").Key("ENABLE_NOTIFY_MAIL").SetValue(com.ToStr(form.MailNotify))
|
||||
} else {
|
||||
cfg.Section("mailer").Key("ENABLED").SetValue("false")
|
||||
}
|
||||
cfg.Section("service").Key("REGISTER_EMAIL_CONFIRM").SetValue(com.ToStr(form.RegisterConfirm))
|
||||
cfg.Section("service").Key("ENABLE_NOTIFY_MAIL").SetValue(com.ToStr(form.MailNotify))
|
||||
|
||||
cfg.Section("server").Key("OFFLINE_MODE").SetValue(com.ToStr(form.OfflineMode))
|
||||
cfg.Section("service").Key("DISABLE_REGISTRATION").SetValue(com.ToStr(form.DisableRegistration))
|
||||
cfg.Section("service").Key("REQUIRE_SIGNIN_VIEW").SetValue(com.ToStr(form.RequireSignInView))
|
||||
|
||||
cfg.Section("").Key("RUN_MODE").SetValue("prod")
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.6.1.0708 Beta
|
||||
0.6.1.0709 Beta
|
|
@ -76,6 +76,11 @@
|
|||
|
||||
<!-- General Settings -->
|
||||
<h4 class="ui dividing header">{{.i18n.Tr "install.general_title"}}</h4>
|
||||
<div class="inline required field {{if .Err_AppName}}error{{end}}">
|
||||
<label for="app_name">{{.i18n.Tr "install.app_name"}}</label>
|
||||
<input id="app_name" name="app_name" value="{{.app_name}}" required>
|
||||
<span class="help">{{.i18n.Tr "install.app_name_helper"}}</span>
|
||||
</div>
|
||||
<div class="inline required field {{if .Err_RepoRootPath}}error{{end}}">
|
||||
<label for="repo_root_path">{{.i18n.Tr "install.repo_path"}}</label>
|
||||
<input id="repo_root_path" name="repo_root_path" value="{{.repo_root_path}}" required>
|
||||
|
@ -122,15 +127,6 @@
|
|||
<label for="smtp_passwd">{{.i18n.Tr "install.mailer_password"}}</label>
|
||||
<input id="smtp_passwd" name="smtp_passwd" type="password" value="{{.smtp_passwd}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui accordion optional field">
|
||||
<div class="title">
|
||||
<i class="icon dropdown"></i>
|
||||
{{.i18n.Tr "install.notify_title"}}
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="inline field">
|
||||
<div class="ui checkbox">
|
||||
<label><strong>{{.i18n.Tr "install.register_confirm"}}</strong></label>
|
||||
|
@ -146,6 +142,33 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui accordion optional field">
|
||||
<div class="title">
|
||||
<i class="icon dropdown"></i>
|
||||
{{.i18n.Tr "install.server_service_title"}}
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="inline field">
|
||||
<div class="ui checkbox">
|
||||
<label class="poping up" data-content="{{.i18n.Tr "install.offline_mode_popup"}}"><strong>{{.i18n.Tr "install.offline_mode"}}</strong></label>
|
||||
<input name="offline_mode" type="checkbox" {{if .offline_mode}}checked{{end}}>
|
||||
</div>
|
||||
</div>
|
||||
<div class="inline field">
|
||||
<div class="ui checkbox">
|
||||
<label class="poping up" data-content="{{.i18n.Tr "install.disable_registration_popup"}}"><strong>{{.i18n.Tr "install.disable_registration"}}</strong></label>
|
||||
<input name="disable_registration" type="checkbox" {{if .disable_registration}}checked{{end}}>
|
||||
</div>
|
||||
</div>
|
||||
<div class="inline field">
|
||||
<div class="ui checkbox">
|
||||
<label class="poping up" data-content="{{.i18n.Tr "install.require_sign_in_view_popup"}}"><strong>{{.i18n.Tr "install.require_sign_in_view"}}</strong></label>
|
||||
<input name="require_sign_in_view" type="checkbox" {{if .require_sign_in_view}}checked{{end}}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui accordion optional field">
|
||||
<div class="title {{if .Err_Admin}}text-error{{end}}">
|
||||
<i class="icon dropdown"></i>
|
||||
|
|
Loading…
Add table
Reference in a new issue