Browse Source

Minor fix for #2624

Unknwon 9 years ago
parent
commit
632c27802c

+ 1 - 1
README.md

@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
 
 ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
 
-##### Current version: 0.8.36
+##### Current version: 0.8.37
 
 | Web | UI  | Preview  |
 |:-------------:|:-------:|:-------:|

+ 12 - 4
conf/locale/locale_bg-BG.ini

@@ -38,7 +38,7 @@ settings=Настройки
 your_profile=Вашият профил
 your_settings=Вашите настройки
 
-news_feed=Поток новини
+activities=Activities
 pull_requests=Заявки за сливане
 issues=Задачи
 
@@ -86,6 +86,8 @@ http_port=HTTP порт
 http_port_helper=Порт, на който приложението ще слуша.
 app_url=URL адрес на приложението
 app_url_helper=Този настройка променя HTTP/HTTPS адреса за клониране, а понякога и адреса на ел. поща.
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Опционални настройки
 email_title=Настройки на пощенска услуга
@@ -122,6 +124,7 @@ run_user_not_match=Потребителският контекст на прил
 save_config_failed=Неуспешно запазване на конфигурация: %v
 invalid_admin_setting=Настройките на профил на администратора са невалидни: %v
 install_success=Добре дошли! Радваме се, че избрахте Gogs, и Ви пожелаваме приятна работа и сърдечни поздрави!
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Име или ел. поща
@@ -581,14 +584,19 @@ settings.tracker_url_format=Формат на URL адрес на външна 
 settings.tracker_url_format_desc=Можете да използвате текстови маркери <code>{user} {repo} {index}</code> за потребителско име, име на хранилище и индекс на задача съответно.
 settings.pulls_desc=Включва заявки за сливане за да може да се приемат външни доработки
 settings.danger_zone=Опасна зона
+settings.new_owner_has_same_repo=Новият притежател вече има хранилище със същото име. Изберете друго име.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Прехвърли притежание
 settings.transfer_desc=Прехвърля това хранилище на друг потребител или към организация, в която имате права на администратор.
-settings.new_owner_has_same_repo=Новият притежател вече има хранилище със същото име. Изберете друго име.
-settings.delete=Изтрий това хранилище
-settings.delete_desc=След като изтриете хранилището, няма връщане назад. Моля, бъдете сигурни.
 settings.transfer_notices_1=- Вие ще загубите достъп, ако новият притежател е индивидуален потребител.
 settings.transfer_notices_2=- Вие ще запазите достъпа си, ако новият притежател е организация и ако вие сте един от притежателите ѝ.
 settings.transfer_form_title=Моля въведете следната информация за да потвърдите операцията:
+settings.delete=Изтрий това хранилище
+settings.delete_desc=След като изтриете хранилището, няма връщане назад. Моля, бъдете сигурни.
 settings.delete_notices_1=- Тази операция <strong>НЕ МОЖЕ</strong> да бъде отменена в последствие.
 settings.delete_notices_2=- Тази операция ще изтрие всичко от това хранилище, включително Git данни, задачи, коментари и достъпа на сътрудници.
 settings.delete_notices_fork_1=- Ако това хранилище е публично, всички негови разклонения ще останат независими след изтриването му.

File diff suppressed because it is too large
+ 90 - 82
conf/locale/locale_de-DE.ini


+ 2 - 2
conf/locale/locale_en-US.ini

@@ -588,8 +588,8 @@ settings.new_owner_has_same_repo = The new owner already has a repository with s
 settings.convert = Convert To Regular Repository
 settings.convert_desc = You can convert this mirror to a regular repository. This cannot be reversed.
 settings.convert_notices_1 = - This operation will convert this repository mirror into a regular repository and cannot be undone.
-settings.convert_succeed = Repository successfully converted.
-settings.convert_failed = Unable to convert repository.
+settings.convert_confirm = Confirm Conversion
+settings.convert_succeed = Repository has been converted to regular type successfully.
 settings.transfer = Transfer Ownership
 settings.transfer_desc = Transfer this repository to another user or to an organization in which you have admin rights.
 settings.transfer_notices_1 = - You will lose access if new owner is a individual user.

+ 12 - 4
conf/locale/locale_es-ES.ini

@@ -38,7 +38,7 @@ settings=Configuraciones
 your_profile=Tu perfil
 your_settings=Tu configuración
 
-news_feed=Feed de noticias
+activities=Activities
 pull_requests=Pull Requests
 issues=Incidencias
 
@@ -86,6 +86,8 @@ 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.
+log_root_path=Ruta del registro
+log_root_path_helper=Directorio donde almacenar los registros.
 
 optional_title=Configuración Opcional
 email_title=Configuración del Servicio de Correo
@@ -122,6 +124,7 @@ run_user_not_match=El usuario que está ejecutando la aplicación no es el usuar
 save_config_failed=Error al guardar la configuración: %v
 invalid_admin_setting=La configuración de la cuenta de administración es inválida: %v
 install_success=Bienvenido! Estamos encantados de que hayas escogido Gogs, diviértete y cuídate.
+invalid_log_root_path=La ruta para los registros es inválida: %v
 
 [home]
 uname_holder=Nombre de usuario o correo electrónico
@@ -581,14 +584,19 @@ settings.tracker_url_format=Formato URL del tracker de incidencias externo
 settings.tracker_url_format_desc=Puedes usar las plantillas <code>{user} {repo} {index}</code> para el nombre de usuario, nombre del repositorio e índice de la incidencia.
 settings.pulls_desc=Habilitar Pull Requests para aceptar contribuciones públicas
 settings.danger_zone=Zona de Peligro
+settings.new_owner_has_same_repo=El nuevo propietario tiene un repositorio con el mismo nombre.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=Puedes convertir este repositorio en un repositorio normal. Este cambio no se puede deshacer.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Transferir la Propiedad
 settings.transfer_desc=Transferir este repositorio a otro usuario u organización donde tengas permisos de administración.
-settings.new_owner_has_same_repo=El nuevo propietario tiene un repositorio con el mismo nombre.
-settings.delete=Eliminar este Repositorio
-settings.delete_desc=Una vez has eliminado un repositorio, no hay vuelta atrás. Por favor, asegúrate de que es lo que quieres.
 settings.transfer_notices_1=- Perderá el permiso de acceso si el nuevo propietario es otro usuario.
 settings.transfer_notices_2=- Conservará el privilegio de acceso si el nuevo propietario es una organización y usted es uno de los propietarios de dicha organización.
 settings.transfer_form_title=Por favor introduzca esta información para confirmar la operación:
+settings.delete=Eliminar este Repositorio
+settings.delete_desc=Una vez has eliminado un repositorio, no hay vuelta atrás. Por favor, asegúrate de que es lo que quieres.
 settings.delete_notices_1=- Esta operación <strong>NO PUEDE</strong> revertirse.
 settings.delete_notices_2=- Esta operación eliminará de manera permanente todo el contenido de este repositorio, incluyendo los datos de git, las incidencias, los comentarios y los permisos de acceso de los colaboradores.
 settings.delete_notices_fork_1=- Si este repositorio es público, todos los forks se convertirán en repositorios independientes tras el borrado.

+ 16 - 8
conf/locale/locale_fr-FR.ini

@@ -38,7 +38,7 @@ settings=Paramètres
 your_profile=Votre profil
 your_settings=Vos paramètres
 
-news_feed=Flux d'actualités
+activities=Activities
 pull_requests=Pull Requests
 issues=Tickets
 
@@ -86,6 +86,8 @@ 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.
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Paramètres facultatifs
 email_title=Paramètres du Service de Messagerie
@@ -122,10 +124,11 @@ run_user_not_match=L'utilisateur entré n'est pas l'utilisateur actuel : %s -> %
 save_config_failed=La sauvegarde de la configuration a échoué : %v
 invalid_admin_setting=Paramètres du compte administrateur invalides : %v
 install_success=Bienvenue ! Nous sommes heureux que vous ayez choisi Gogs, amusez-vous et prenez soin de vous.
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Nom d'Utilisateur ou E-mail
-password_holder=Mot de Passe
+password_holder=Mot de passe
 switch_dashboard_context=Basculer le Contexte du Tableau de Bord
 my_repos=Mes dépôts
 collaborative_repos=Dépôts collaboratifs
@@ -247,10 +250,10 @@ orgs=Organisations
 delete=Supprimer le Compte
 uid=ID d'Utilisateur
 
-public_profile=Profil Public
+public_profile=Profil public
 profile_desc=Votre adresse e-mail est publique et sera utilisée pour les notifications relatives au compte, ainsi que pour toute opération Web effectuée via le site.
 password_username_disabled=Les utilisateurs non-locaux n'ont pas le droit de modifier leur nom d'utilisateur.
-full_name=Nom Complet
+full_name=Nom complet
 website=Site Web
 location=Localisation
 update_profile=Valider les modifications
@@ -283,7 +286,7 @@ primary=Principale
 primary_email=Définir comme principale
 delete_email=Supprimer
 email_deletion=Suppression de l'adresse mél
-email_deletion_desc=Supprimer cette adresse l supprimera les informations associées à votre compte. Voulez-vous continuer ?
+email_deletion_desc=Supprimer cette adresse e-mail supprimera les informations associées à votre compte. Voulez-vous continuer ?
 email_deletion_success=L'adresse mél a été supprimée avec succès !
 add_new_email=Ajouter une nouvelle adresse courriel
 add_email=Ajouter un courriel
@@ -581,14 +584,19 @@ settings.tracker_url_format=Format d'URL du bug tracker
 settings.tracker_url_format_desc=Vous pouvez utiliser l'espace réservé <code>{user} {repo} {index}</code> pour le nom d'utilisateur, le nom du dépôt et le numéro de bug.
 settings.pulls_desc=Activer les pull requests pour accepter les contributions publiques
 settings.danger_zone=Zone de danger
+settings.new_owner_has_same_repo=Le nouveau propriétaire a déjà un dépôt nommé ainsi.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Changer de propriétaire
 settings.transfer_desc=Transférer ce dépôt à un autre utilisateur ou une organisation dont vous possédez des droits d'administrateur.
-settings.new_owner_has_same_repo=Le nouveau propriétaire a déjà un dépôt nommé ainsi.
-settings.delete=Supprimer ce dépôt
-settings.delete_desc=Attention, cette action est action irréversible. Soyez sûr de vous.
 settings.transfer_notices_1=-Vous perdrez l'accès si le nouveau propriétaire est un utilisateur individuel.
 settings.transfer_notices_2=- Vous conserverez l'accès si le nouveau propriétaire est une organisation et que vous y appartenez.
 settings.transfer_form_title=Veuillez recopier le texte suivant afin de confirmer votre opération :
+settings.delete=Supprimer ce dépôt
+settings.delete_desc=Attention, cette action est action irréversible. Soyez sûr de vous.
 settings.delete_notices_1=- Cette opération <strong>ne peut pas </strong> être annulée.
 settings.delete_notices_2=- Cette opération supprimera définitivement le dépôt, y compris les données Git, les issues, les commentaires et les accès des collaborateurs.
 settings.delete_notices_fork_1=- Si ce dépôt est public, tous les forks vont devenir indépendant après sa suppression.

+ 12 - 4
conf/locale/locale_it-IT.ini

@@ -38,7 +38,7 @@ settings=Impostazioni
 your_profile=Il tuo profilo
 your_settings=Impostazioni
 
-news_feed=Notizie
+activities=Activities
 pull_requests=Pull Request
 issues=Problemi
 
@@ -86,6 +86,8 @@ http_port=Porta HTTP
 http_port_helper=Porta di ascolto dell'applicazione.
 app_url=URL Applicazione
 app_url_helper=Questo influisce sugli URL per il clonaggio via HTTP/HTTPS e da qualche parte nella posta elettronica.
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Impostazioni Facoltative
 email_title=Impostazioni E-mail
@@ -122,6 +124,7 @@ run_user_not_match=Run user non è l'utente corrente:  %s -> %s
 save_config_failed=Fallito il salvataggio della configurazione: %v
 invalid_admin_setting=Impostazioni account Admin non valide: %v
 install_success=Benvenuto! Siamo felici che tu abbia scelto Gogs, buon divertimento.
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Nome Utente o E-mail
@@ -581,14 +584,19 @@ settings.tracker_url_format=External Issue Tracker URL Format
 settings.tracker_url_format_desc=You can use placeholder <code>{user} {repo} {index}</code> for user name, repository name and issue index.
 settings.pulls_desc=Enable pull requests to accept public contributions
 settings.danger_zone=Zona Pericolosa
+settings.new_owner_has_same_repo=Il nuovo proprietario ha già un repository con lo stesso nome. Per favore scegli un altro nome.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Trasferisci proprietà
 settings.transfer_desc=Trasferisci questa repository a un altro utente o a un'organizzazione nella quale hai diritti d'amministratore.
-settings.new_owner_has_same_repo=Il nuovo proprietario ha già un repository con lo stesso nome. Per favore scegli un altro nome.
-settings.delete=Elimina questo repository
-settings.delete_desc=Una volta che hai cancellato il repository, non puoi tornare indietro. Si prega di fare attenzione.
 settings.transfer_notices_1=- You will lose access if new owner is a individual user.
 settings.transfer_notices_2=- You will conserve access if new owner is an organization and if you're one of the owners.
 settings.transfer_form_title=Per favore inserisci le informazioni seguenti per confermare l'operazione:
+settings.delete=Elimina questo repository
+settings.delete_desc=Una volta che hai cancellato il repository, non puoi tornare indietro. Si prega di fare attenzione.
 settings.delete_notices_1=-Questa operazione <strong>NON PUÒ</strong> essere annullata.
 settings.delete_notices_2=-Questa operazione eliminerà definitivamente il tutto il contenuto del repository, inclusi i dati di Git, incidenti, commenti e accessi dei collaboratori.
 settings.delete_notices_fork_1=-Se questo repository è pubblico, tutti i fork diventeranno indipendenti dopo la sua cancellazione.

+ 12 - 4
conf/locale/locale_ja-JP.ini

@@ -38,7 +38,7 @@ settings=設定
 your_profile=あなたのプロファイル
 your_settings=あなたの設定
 
-news_feed=ニュースのフィード
+activities=Activities
 pull_requests=プルリクエスト
 issues=課題
 
@@ -86,6 +86,8 @@ http_port=HTTP ポート
 http_port_helper=アプリケーションが待ち受けするポート番号。
 app_url=アプリケーションの URL
 app_url_helper=この設定は、HTTP / HTTPSのクローンURLおよび、一部のメールボックスへのリンクに影響を与えます。
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=オプション設定
 email_title=E-mailサービス設定
@@ -122,6 +124,7 @@ run_user_not_match=実行ユーザーは、現在のユーザーではない: %s
 save_config_failed=構成の保存に失敗した: %v
 invalid_admin_setting=管理者アカウントの設定が無効です: %v
 install_success=ようこそ!我々はあなたが Gogs を選んでくれて嬉しいです!楽しみましょう!
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=ユーザー名またはEメール
@@ -581,14 +584,19 @@ settings.tracker_url_format=外部課題トラッキングツール URLのフォ
 settings.tracker_url_format_desc=You can use placeholder <code>{user} {repo} {index}</code> for user name, repository name and issue index.
 settings.pulls_desc=Enable pull requests to accept public contributions
 settings.danger_zone=危険地帯
+settings.new_owner_has_same_repo=新しいオーナーは、既に同じ名前のリポジトリを持っています。
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=オーナー移転
 settings.transfer_desc=リポジトリをあなたが管理者権限を持っている別のユーザーまた組織に移譲します。
-settings.new_owner_has_same_repo=新しいオーナーは、既に同じ名前のリポジトリを持っています。
-settings.delete=このリポジトリを削除
-settings.delete_desc=リポジトリを削除すると元に戻せません。確実に確認してください。
 settings.transfer_notices_1=-新しい所有者が個人ユーザーの場合、あなたがアクセスできなくなります。
 settings.transfer_notices_2=- You will conserve access if new owner is an organization and if you're one of the owners.
 settings.transfer_form_title=操作を確認するために、以下の情報を入力してください。
+settings.delete=このリポジトリを削除
+settings.delete_desc=リポジトリを削除すると元に戻せません。確実に確認してください。
 settings.delete_notices_1=-この操作は<strong>元に戻せません</strong> 。
 settings.delete_notices_2=- This operation will permanently delete the everything of this repository, including Git data, issues, comments and accesses of collaborators.
 settings.delete_notices_fork_1=- If this repository is public, all forks will become independent after deletion.

+ 12 - 4
conf/locale/locale_lv-LV.ini

@@ -38,7 +38,7 @@ settings=Iestatījumi
 your_profile=Tavs profils
 your_settings=Tavi iestatījumi
 
-news_feed=Jaunumu plūsma
+activities=Activities
 pull_requests=Izmaiņu pieprasījumi
 issues=Problēmas
 
@@ -86,6 +86,8 @@ 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.
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Neobligātie iestatījumi
 email_title=E-pasta pakalpojuma iestatījumi
@@ -122,6 +124,7 @@ run_user_not_match=Izpildes lietotājs nav pašreizējais lietotājs: %s -> %s
 save_config_failed=Neizdevās saglabāt konfigurāciju: %v
 invalid_admin_setting=Nekorekts admin konta iestatījums: %v
 install_success=Laipni lūdzam! Mēs priecājamies, ka Jūs izvēlaties Gogs, patīkamu lietošanu!
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Lietotājvārds vai e-pasts
@@ -581,14 +584,19 @@ settings.tracker_url_format=Ārējā problēmu sekotāja adreses formāts
 settings.tracker_url_format_desc=Jūs varat izmantot <code>{user}{repo}{index}</code> lietotājvārdam, repozitorija nosaukumam un problēmas identifikātoram.
 settings.pulls_desc=Iespējot izmaiņu pieprasījumus lai saņemtu publiskus ieguldījumus
 settings.danger_zone=Bīstamā zona
+settings.new_owner_has_same_repo=Jaunajam īpašniekam jau ir repozitorijs ar šādu nosaukumu.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Mainīt īpašnieku
 settings.transfer_desc=Mainīt šī repozitorija īpašnieku uz citu lietotāju vai organizāciju, kurai Jums ir administratora tiesībs.
-settings.new_owner_has_same_repo=Jaunajam īpašniekam jau ir repozitorijs ar šādu nosaukumu.
-settings.delete=Dzēst šo repozitoriju
-settings.delete_desc=Dzēšot repozitoriju, tā datus vairs nebūs iespējams atgūt. Pirms dzēšanas pārliecinieites vai patiešām vēlaties to darīt.
 settings.transfer_notices_1=- Jūs pazaudēsiet piekļuvi, ja jaunais īpašnieks ir lietotājs.
 settings.transfer_notices_2=- Jūs saglabāsiet piekļuvi, ja jaunais īpašnieks ir organizācija un Jūs esat viens no tās īpašniekiem.
 settings.transfer_form_title=Lūdzu, ievadiet sekojošu informāciju, lai apstiprinātu šo darbību:
+settings.delete=Dzēst šo repozitoriju
+settings.delete_desc=Dzēšot repozitoriju, tā datus vairs nebūs iespējams atgūt. Pirms dzēšanas pārliecinieites vai patiešām vēlaties to darīt.
 settings.delete_notices_1=- Šī darbība ir <strong>NEATGRIEZENISKA</strong>.
 settings.delete_notices_2=- Šī darbība neatgriezeniski izdzēsīs visus šī repozitorija datus, tai skaitā Git datus, problēmu ziņojumus, komentārus un definētās piekļuves tiesības.
 settings.delete_notices_fork_1=- Ja repozitorijs ir publisks, visi atdalītie repozitoriji kļūs neatkarīgi.

+ 19 - 11
conf/locale/locale_nl-NL.ini

@@ -23,7 +23,7 @@ password=Wachttwoord
 re_type=Verificatie
 captcha=CAPTCHA
 
-repository=Repositorie
+repository=Repository
 organization=Organisatie
 mirror=Spiegel
 new_repo=Nieuwe repositorie
@@ -38,7 +38,7 @@ settings=Instellingen
 your_profile=Uw profiel
 your_settings=Uw instellingen
 
-news_feed=Nieuwsfeed
+activities=Activities
 pull_requests=Pull-aanvragen
 issues=Kwesties
 
@@ -86,6 +86,8 @@ 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
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Optionele instellingen
 email_title=E-mail service instellingen
@@ -117,11 +119,12 @@ install_gogs=Installeer Gogs
 test_git_failed=Git test niet gelukt: 'git' commando %v
 sqlite3_not_available=Uw versie biedt geen ondersteuning voor SQLite3, download de officiële binaire versie van %s, niet de gobuild versie.
 invalid_db_setting=Uw database instellingen zijn niet correct: %v
-invalid_repo_path=Repositorie basis pad is niet correct: %v
+invalid_repo_path=Repositorie basis map is niet correct: %v
 run_user_not_match=De uitvoerende gebruiker is niet de huidig gebruiker: %s -> %s
 save_config_failed=Kan de configuratie niet opslaan: %v
 invalid_admin_setting=Uw admin-instellingen zijn niet geldig: %v
 install_success=Welkom! Wij zijn veheugd dat u voor Gogs heeft gekozen, veel plezier en tot ziens
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Gebruikersnaam of e-mail
@@ -174,7 +177,7 @@ modify=Aanpassen
 
 [form]
 UserName=Gebruikersnaam
-RepoName=Repositorie naam
+RepoName=Naam van repository
 Email=e-mailadres
 Password=Wachtwoord
 Retype=Verifieer wachtwoord
@@ -199,7 +202,7 @@ captcha_incorrect=Captcha komt niet overeen.
 password_not_match=Wachtwoord en verificatie wachtwoord komen niet overeen.
 
 username_been_taken=Gebruikersnaam is al in gebruik.
-repo_name_been_taken=Repositorie naam is al in gebruik.
+repo_name_been_taken=Deze naam is al in gebruik.
 org_name_been_taken=Organisatie naam is al in gebruik.
 team_name_been_taken=Team naam is al in gebruik.
 email_been_used=e-mailadres is al in gebruik.
@@ -335,8 +338,8 @@ delete_account_desc=Dit account zal permanent worden verwijderd. Wilt u doorgaan
 
 [repo]
 owner=Eigenaar
-repo_name=Repositorie naam
-repo_name_helper=Een goede repositorie naam is kort, memorabel en <strong>uniek</strong>.
+repo_name=Naam van repository
+repo_name_helper=Een goede repository-naam is kort, makkelijk te onthouden en <strong>uniek</strong>.
 visibility=Zichtbaarheid
 visiblity_helper=Deze repositorie is <span class="ui red text">privaat</span>
 visiblity_helper_forced=Sitebeheerder heeft alle nieuwe repositories gedwongen <span class="ui red text">privé</span> te zijn
@@ -353,7 +356,7 @@ license_helper=Selecteer een licentie bestand
 readme=Leesmij-bestand
 readme_helper=Selecteer een sjabloon voor het Leesmij-bestand
 auto_init=Initialiseer deze repositorie met de geselecteerde bestanden en sjabloon
-create_repo=Nieuwe Repositorie
+create_repo=Nieuwe repository
 default_branch=Standaard branch
 mirror_interval=Mirror interval(uur)
 mirror_address=Kopie-adres
@@ -581,14 +584,19 @@ settings.tracker_url_format=External Issue Tracker URL Format
 settings.tracker_url_format_desc=You can use placeholder <code>{user} {repo} {index}</code> for user name, repository name and issue index.
 settings.pulls_desc=Enable pull requests to accept public contributions
 settings.danger_zone=Gevaren zone
+settings.new_owner_has_same_repo=De nieuwe eigenaar heeft al een repositorie met deze naam
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Eigendom overdragen
 settings.transfer_desc=Draag deze repo over aan een andere gebruiker of een organisatie waar u beheerders rechten heeft.
-settings.new_owner_has_same_repo=De nieuwe eigenaar heeft al een repositorie met deze naam
-settings.delete=Verwijder deze repositorie
-settings.delete_desc=Als u eenmaal een repositorie verwijderd is er geen weg terug. Gelieve zeker te zijn van uw acties.
 settings.transfer_notices_1=- You will lose access if new owner is a individual user.
 settings.transfer_notices_2=- You will conserve access if new owner is an organization and if you're one of the owners.
 settings.transfer_form_title=Please enter following information to confirm your operation:
+settings.delete=Verwijder deze repositorie
+settings.delete_desc=Als u eenmaal een repositorie verwijderd is er geen weg terug. Gelieve zeker te zijn van uw acties.
 settings.delete_notices_1=- This operation <strong>CANNOT</strong> be undone.
 settings.delete_notices_2=- This operation will permanently delete the everything of this repository, including Git data, issues, comments and accesses of collaborators.
 settings.delete_notices_fork_1=- If this repository is public, all forks will become independent after deletion.

+ 20 - 12
conf/locale/locale_pl-PL.ini

@@ -38,7 +38,7 @@ settings=Ustawienia
 your_profile=Twój profil
 your_settings=Twoje ustawienia
 
-news_feed=Kanał aktualności
+activities=Activities
 pull_requests=Oczekujące zmiany
 issues=Problemy
 
@@ -65,7 +65,7 @@ db_name=Nazwa bazy danych
 db_helper=Proszę użyć silnika INNODB z kodowaniem utf8_general_ci dla MySQL.
 ssl_mode=Tryb SSL
 path=Ścieżka
-sqlite_helper=The file path of SQLite3 or TiDB database. <br>Please use absolute path when you start as service.
+sqlite_helper=Ścieżka do pliku bazy danych SQLite3 lub TiDB. <br>Proszę użyć ścieżki bezwzględnej podczas uruchamiania usługi.
 err_empty_db_path=Ścieżka do bazy danych SQLite3 lub TiDB nie może być pusta.
 err_invalid_tidb_name=Nazwa bazy danych TiDB nie może zawierać znaków "." i "-".
 no_admin_and_disable_registration=Rejestracji nie można wyłączyć bez tworzenia konta admina.
@@ -86,6 +86,8 @@ 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.
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Ustawienia opcjonalne
 email_title=Ustawienia serwera e-mail
@@ -122,6 +124,7 @@ run_user_not_match=Użytkownik aplikacji nie jest aktualnym użytkownikiem: %s -
 save_config_failed=Nie udało się zapisać konfiguracji: %v
 invalid_admin_setting=Nieprawidłowe ustawienia konta admina: %v
 install_success=Cześć! Cieszymy się, że wybierałeś Gogs, baw się dobrze.
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Nazwa użytkownika lub e-mail
@@ -231,8 +234,8 @@ activity=Publiczna aktywność
 followers=Obserwujący
 starred=Polubionych
 following=Obserwowani
-follow=Follow
-unfollow=Unfollow
+follow=Obserwuj
+unfollow=Przestań obserwować
 
 form.name_reserved=Nazwa użytkownika "%s" jest zarezerwowana.
 form.name_pattern_not_allowed=Wzorzec nazwy użytkownika "%s" jest niedozwolony.
@@ -493,7 +496,7 @@ issues.label_modify=Modyfikacja etykiety
 issues.label_deletion=Usunięcie etykiety
 issues.label_deletion_desc=Usunięcie tej etykiety spowoduje usuniecie jej ze wszystkich powiązanych problemów. Czy na pewno chcesz kontynuować?
 issues.label_deletion_success=Etykieta została usunięta pomyślnie!
-issues.num_participants=%d Participants
+issues.num_participants=%d uczestników
 
 pulls.new=Nowy pull request
 pulls.compare_changes=Porównaj zmiany
@@ -581,14 +584,19 @@ settings.tracker_url_format=Format dla adresu URL zewnętrznego systemu
 settings.tracker_url_format_desc=Symbole zastępcze <code>{user} {repo} {index}</code> mogą być użyte dla nazwy użytkownika, nazwy repozytorium i numeru problemu.
 settings.pulls_desc=Włącz obsługę pull request, aby akceptować publiczny wkład
 settings.danger_zone=Strefa niebezpieczeństwa
+settings.new_owner_has_same_repo=Nowy właściciel już posiada repozytorium o tej samej nazwie.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Przeniesienie własności
 settings.transfer_desc=Przenieś to repozytorium do innego użytkownika lub organizacji gdzie masz uprawnienia administratora.
-settings.new_owner_has_same_repo=Nowy właściciel już posiada repozytorium o tej samej nazwie.
-settings.delete=Usuń to repozytorium
-settings.delete_desc=Po usunięciu repozytorium nie ma odwrotu. Upewnij się, że tego chcesz.
 settings.transfer_notices_1=- Stracisz dostęp jeśli nowy właściciel jest indywidualnym użytkownikiem.
 settings.transfer_notices_2=- Zachowasz dostęp jeśli nowym właścicielem jest organizacja, której jesteś współwłaścicielem.
 settings.transfer_form_title=Proszę wpisz co następuje w celu potwierdzenia operacji:
+settings.delete=Usuń to repozytorium
+settings.delete_desc=Po usunięciu repozytorium nie ma odwrotu. Upewnij się, że tego chcesz.
 settings.delete_notices_1=- Ta operacja <strong>NIE MOŻE</strong> zostać cofnięta.
 settings.delete_notices_2=- Ta operacja trwale usunie wszystko z tego repozytorium, w tym dane Git, problemy, komentarze i dostęp dla współpracowników.
 settings.delete_notices_fork_1=- Jeśli to repozytorium jest publiczne, wszystkie forki staną się niezależne.
@@ -668,8 +676,8 @@ diff.parent=rodzic
 diff.commit=commit
 diff.data_not_available=Informacje nt. zmiany nie są dostępne.
 diff.show_diff_stats=Pokaż statystyki zmian
-diff.show_split_view=Split View
-diff.show_unified_view=Unified View
+diff.show_split_view=Widok podzielony
+diff.show_unified_view=Zunifikowany widok
 diff.stats_desc=<strong>%d zmienionych plików</strong> z <strong>%d dodań</strong> i <strong>%d usunięć</strong>
 diff.bin=BIN
 diff.view_file=Wyświetl plik
@@ -818,8 +826,8 @@ dashboard.resync_all_sshkeys=Przeładuj klucze publiczne w pliku '.ssh/authorize
 dashboard.resync_all_sshkeys_success=Przeładowanie kluczy publicznych zakończyło się sukcesem.
 dashboard.resync_all_update_hooks=Przepisz pliki update hook repozytoriów (wymagane przy zmianie ścieżki do pliku konfiguracji)
 dashboard.resync_all_update_hooks_success=Wszystkie pliki update hook repozytoriów zostały pomyślnie przepisane.
-dashboard.reinit_missing_repos=Reinitialize all repository records that lost Git files
-dashboard.reinit_missing_repos_success=All repository records that lost Git files have been reinitialized successfully.
+dashboard.reinit_missing_repos=Ponownie inicjalizuj wszystkie repozytoria, które straciły pliki Git
+dashboard.reinit_missing_repos_success=Wszystkie repozytoria, które straciły pliki Git, zostały ponownie zainicjować pomyślnie.
 
 dashboard.server_uptime=Uptime serwera
 dashboard.current_goroutine=Bieżące Goroutines

+ 12 - 4
conf/locale/locale_pt-BR.ini

@@ -38,7 +38,7 @@ settings=Configurações
 your_profile=Seu perfil
 your_settings=Suas configurações
 
-news_feed=Feed de Notícias
+activities=Activities
 pull_requests=Pull Requests
 issues=Problemas
 
@@ -86,6 +86,8 @@ 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.
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Configurações opcionais
 email_title=Configurações do serviço de e-mail
@@ -122,6 +124,7 @@ run_user_not_match=O usuário da execução não é o usuário atual: %s -> %s
 save_config_failed=Falha ao salvar a configuração: %v
 invalid_admin_setting=Configuração da conta de administrador está inválida: %v
 install_success=Bem-vindo! Estamos contentes que você escolheu o Gogs, divirta-se e tenha cuidado.
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Nome de Usuário ou E-mail
@@ -581,14 +584,19 @@ settings.tracker_url_format=Formato de URL do issue tracker externo
 settings.tracker_url_format_desc=Você pode usar o espaço reservado <code>{user} {repo} {index}</code> para o nome do usuário, índice de nome e a questão do repositório.
 settings.pulls_desc=Habilitar pull requests para aceitar contribuições públicas
 settings.danger_zone=Zona de Perigo
+settings.new_owner_has_same_repo=O novo dono já tem um repositório com o mesmo nome. Por favor, escolha outro nome.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Transferir Propriedade
 settings.transfer_desc=Transferir este repositório para outro usuário ou para uma organização onde você tem direitos de administrador.
-settings.new_owner_has_same_repo=O novo dono já tem um repositório com o mesmo nome. Por favor, escolha outro nome.
-settings.delete=Deletar Este Repositório
-settings.delete_desc=Uma vez que você deleta um repositório, não tem volta. Por favor, tenha certeza.
 settings.transfer_notices_1=- Você vai perder acesso se o novo dono for um usuário individual.
 settings.transfer_notices_2=- Você vai continuar tendo acesso se o novo dono é uma organização e você é um dos membros.
 settings.transfer_form_title=Informe a seguinte informação para confirmar a sua operação:
+settings.delete=Deletar Este Repositório
+settings.delete_desc=Uma vez que você deleta um repositório, não tem volta. Por favor, tenha certeza.
 settings.delete_notices_1=-Esta operação <strong>NÃO PODERÁ</strong> ser desfeita.
 settings.delete_notices_2=- Esta operação irá apagar permanentemente o tudo deste repositório, incluindo os dados do Git, problemas, comentários e acessos dos colaboradores.
 settings.delete_notices_fork_1=- Se este repositório é público, todos os forks se tornarão independentes após a deleção.

+ 17 - 9
conf/locale/locale_ru-RU.ini

@@ -1,7 +1,7 @@
 app_desc=Удобная служба для собственного Git-репозитория, написанная на языке Go
 
 home=Главная
-dashboard=Панель мониторинга
+dashboard=Панель управления
 explore=Обзор
 help=Помощь
 sign_in=Войти
@@ -38,7 +38,7 @@ settings=Настройки
 your_profile=Ваш профиль
 your_settings=Ваши настройки
 
-news_feed=Лента новостей
+activities=Activities
 pull_requests=Запросы на слияние
 issues=Задачи
 
@@ -65,7 +65,7 @@ db_name=Имя базы данных
 db_helper=Для MySQL используйте тип таблиц InnoDB с кодировкой utf8_general_ci.
 ssl_mode=Режим SSL
 path=Путь
-sqlite_helper=The file path of SQLite3 or TiDB database. <br>Please use absolute path when you start as service.
+sqlite_helper=Путь к файлу базы данных SQLite3 или TiDB. <br>Укажите абсолютный путь при запуске в качестве службы.
 err_empty_db_path=Путь к базе данных SQLite3 или TiDB не может быть пустым.
 err_invalid_tidb_name=Имя базы данных TiDB не может содержать символы "." и "-".
 no_admin_and_disable_registration=Вы не можете отключить регистрацию до создания учетной записи администратора.
@@ -86,6 +86,8 @@ http_port=Порт HTTP
 http_port_helper=Номер порта, который приложение будет слушать.
 app_url=URL приложения
 app_url_helper=Этот параметр влияет на URL для клонирования по HTTP/HTTPS и на адреса в электронной почте.
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=Расширенные настройки
 email_title=Настройки службы электронной почты
@@ -122,6 +124,7 @@ run_user_not_match=Текущий пользователь не является
 save_config_failed=Не удалось сохранить конфигурацию: %v
 invalid_admin_setting=Указан недопустимый параметр учетной записи администратора: %v
 install_success=Добро пожаловать! Мы рады, что вы выбрали Gogs. Веселитесь и берегите себя.
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=Имя пользователь или E-mail
@@ -493,7 +496,7 @@ issues.label_modify=Изменение метки
 issues.label_deletion=Удаление метки
 issues.label_deletion_desc=Удаление ярлыка затронет все связанные задачи. Продолжить?
 issues.label_deletion_success=Метка была удалена успешно!
-issues.num_participants=%d Participants
+issues.num_participants=%d участников
 
 pulls.new=Новый запрос на слияние
 pulls.compare_changes=Сравнить изменения
@@ -581,14 +584,19 @@ settings.tracker_url_format=Внешний формат ссылки систе
 settings.tracker_url_format_desc=Вы можете использовать шаблон <code>{user} {repo} {index}</code> для имени пользователя, репозитория и номера задачи.
 settings.pulls_desc=Включить публичные запросы на слияние
 settings.danger_zone=Опасная зона
+settings.new_owner_has_same_repo=У нового владельца уже есть хранилище с таким названием.
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=Передать права собственности
 settings.transfer_desc=Передать репозиторий другому пользователю или организации где у вас есть права администратора.
-settings.new_owner_has_same_repo=У нового владельца уже есть хранилище с таким названием.
-settings.delete=Удалить этот репозиторий
-settings.delete_desc=Как только вы удалите репозиторий — пути назад не будет. Удостоверьтесь, что вам это точно нужно.
 settings.transfer_notices_1=- Вы можете потерять доступ, если новый владелец является отдельным пользователем.
 settings.transfer_notices_2=- Вы сохраните доступ, если новым владельцем станет организация, владельцем которой вы являетесь.
 settings.transfer_form_title=Введите сопутствующую информацию для подтверждения операции:
+settings.delete=Удалить этот репозиторий
+settings.delete_desc=Как только вы удалите репозиторий — пути назад не будет. Удостоверьтесь, что вам это точно нужно.
 settings.delete_notices_1=- Эта операция <strong>НЕ МОЖЕТ</strong> быть отменена.
 settings.delete_notices_2=- Эта операция навсегда удалит всё из этого репозитория, включая данные Git, связанные с ним задачи, комментарии и права доступа для сотрудников.
 settings.delete_notices_fork_1=- Если данный репозиторий является публичным, все склонированные репозитории останутся независимыми, после его удаления.
@@ -818,8 +826,8 @@ dashboard.resync_all_sshkeys=Переписать файл «.ssh/authorized_key
 dashboard.resync_all_sshkeys_success=Были успешно переписаны все открытые ключи.
 dashboard.resync_all_update_hooks=Перезаписать все апдейт-хуки этого репозитория (необходимо, когда изменен путь до папки конфигураций)
 dashboard.resync_all_update_hooks_success=Апдейт-хуки всех репозиториев успешно перезаписаны.
-dashboard.reinit_missing_repos=Reinitialize all repository records that lost Git files
-dashboard.reinit_missing_repos_success=All repository records that lost Git files have been reinitialized successfully.
+dashboard.reinit_missing_repos=Реинициализировать все репозитории с утерянными Git файлами
+dashboard.reinit_missing_repos_success=Все репозитории с утерянными Git файлами успешно реинициализированы.
 
 dashboard.server_uptime=Время непрерывной работы сервера
 dashboard.current_goroutine=Текущий Goroutines

+ 12 - 4
conf/locale/locale_zh-CN.ini

@@ -38,7 +38,7 @@ settings=帐户设置
 your_profile=个人信息
 your_settings=用户设置
 
-news_feed=最新活动
+activities=最近活动
 pull_requests=合并请求
 issues=工单管理
 
@@ -86,6 +86,8 @@ http_port=HTTP 端口号
 http_port_helper=应用监听的端口号
 app_url=应用 URL
 app_url_helper=该设置影响 HTTP/HTTPS 克隆地址和一些邮箱中的链接。
+log_root_path=日志路径
+log_root_path_helper=存放日志文件的目录
 
 optional_title=可选设置
 email_title=邮件服务设置
@@ -122,6 +124,7 @@ run_user_not_match=运行系统用户非当前用户:%s -> %s
 save_config_failed=应用配置保存失败:%v
 invalid_admin_setting=管理员帐户设置不正确:%v
 install_success=您好!我们很高兴您选择使用 Gogs,祝您使用愉快,代码从此无 BUG!
+invalid_log_root_path=无效的日志路径:%v
 
 [home]
 uname_holder=用户名或邮箱
@@ -581,14 +584,19 @@ settings.tracker_url_format=外部工单管理系统的 URL 格式
 settings.tracker_url_format_desc=您可以使用 <code>{user} {repo} {index}</code> 分别作为用户名、仓库名和工单索引的占位符。
 settings.pulls_desc=启用合并请求以接受社区贡献
 settings.danger_zone=危险操作区
+settings.new_owner_has_same_repo=新的仓库拥有者已经存在同名仓库!
+settings.convert=转换为普通仓库
+settings.convert_desc=您可以将该镜像仓库转换为普通仓库,且此操作不可逆。
+settings.convert_notices_1=- 该操作会将该镜像仓库转换为普通仓库,且操作不可逆。
+settings.convert_confirm=确认转换
+settings.convert_succeed=转换为普通仓库类型成功!
 settings.transfer=转移仓库所有权
 settings.transfer_desc=您可以将仓库转移至您拥有管理员权限的帐户或组织。
-settings.new_owner_has_same_repo=新的仓库拥有者已经存在同名仓库!
-settings.delete=删除本仓库
-settings.delete_desc=删除仓库操作不可逆转,请三思而后行。
 settings.transfer_notices_1=- 如果您将仓库转移给个人用户,您将会丢失操作权限。
 settings.transfer_notices_2=- 如果您将仓库转移给您是所有者的组织,您的操作权限将被保留。
 settings.transfer_form_title=请输入以下信息以确认您的操作:
+settings.delete=删除本仓库
+settings.delete_desc=删除仓库操作不可逆转,请三思而后行。
 settings.delete_notices_1=- 此操作 <strong>不可以</strong> 被回滚。
 settings.delete_notices_2=- 此操作将永久删除该仓库,包括 Git 数据、 工单、 评论和协作者的操作权限。
 settings.delete_notices_fork_1=- 如果该仓库为公开的,则在删除仓库后所有的派生仓库都将转换成独立的仓库。

+ 12 - 4
conf/locale/locale_zh-HK.ini

@@ -38,7 +38,7 @@ settings=設定
 your_profile=個人資料
 your_settings=用戶設定
 
-news_feed=動態消息
+activities=Activities
 pull_requests=合併請求
 issues=問題
 
@@ -86,6 +86,8 @@ http_port=HTTP 端口號
 http_port_helper=應用監聽的端口號
 app_url=應用程式網址
 app_url_helper=該設置影響 HTTP/HTTPS 複製地址和一些郵箱中的連結。
+log_root_path=Log Path
+log_root_path_helper=Directory to write log files to.
 
 optional_title=可選設置
 email_title=電子郵件服務設定
@@ -122,6 +124,7 @@ run_user_not_match=執行系統用戶非當前用戶:%s -> %s
 save_config_failed=應用配置保存失敗:%v
 invalid_admin_setting=管理員帳戶設置不正確:%v
 install_success=您好!我們很高興您選擇使用 Gogs,祝您使用愉快,代碼從此無 BUG!
+invalid_log_root_path=Log root path is invalid: %v
 
 [home]
 uname_holder=用戶名或郵箱
@@ -581,14 +584,19 @@ settings.tracker_url_format=外部問題管理系統的 URL 格式
 settings.tracker_url_format_desc=您可以使用 <code>{user} {repo} {index}</code> 分別作為用戶名、倉庫名和問題索引的占位符。
 settings.pulls_desc=啟用合併請求以接受社區貢獻
 settings.danger_zone=危險操作區
+settings.new_owner_has_same_repo=新的倉庫擁有者已經存在同名倉庫!
+settings.convert=Convert To Regular Repository
+settings.convert_desc=You can convert this mirror to a regular repository. This cannot be reversed.
+settings.convert_notices_1=- This operation will convert this repository mirror into a regular repository and cannot be undone.
+settings.convert_confirm=Confirm Conversion
+settings.convert_succeed=Repository has been converted to regular type successfully.
 settings.transfer=轉移倉庫所有權
 settings.transfer_desc=您可以將倉庫轉移至您擁有管理員權限的帳戶或組織。
-settings.new_owner_has_same_repo=新的倉庫擁有者已經存在同名倉庫!
-settings.delete=刪除本倉庫
-settings.delete_desc=刪除倉庫操作不可逆轉,請三思而後行。
 settings.transfer_notices_1=- 如果您將倉庫轉移給個人用戶,您將會丟失操作權限。
 settings.transfer_notices_2=- 如果您將倉庫轉移給您是所有者的組織,您的操作權限將被保留。
 settings.transfer_form_title=請輸入以下信息以確認您的操作:
+settings.delete=刪除本倉庫
+settings.delete_desc=刪除倉庫操作不可逆轉,請三思而後行。
 settings.delete_notices_1=- 此操作 <strong>不可以</strong> 被回滾。
 settings.delete_notices_2=- 此操作將永久刪除該倉庫,包括 Git 數據、 問題、 評論和協作者的操作權限。
 settings.delete_notices_fork_1=- 如果該倉庫為公開的,則在刪除倉庫後所有的派生倉庫都將轉換成獨立的倉庫。

+ 1 - 1
gogs.go

@@ -17,7 +17,7 @@ import (
 	"github.com/gogits/gogs/modules/setting"
 )
 
-const APP_VER = "0.8.36.0214"
+const APP_VER = "0.8.37.0215"
 
 func init() {
 	runtime.GOMAXPROCS(runtime.NumCPU())

+ 5 - 5
models/repo.go

@@ -592,6 +592,11 @@ func UpdateMirror(m *Mirror) error {
 	return updateMirror(x, m)
 }
 
+func DeleteMirrorByRepoID(repoID int64) error {
+	_, err := x.Delete(&Mirror{RepoID: repoID})
+	return err
+}
+
 func createUpdateHook(repoPath string) error {
 	return git.SetUpdateHook(repoPath,
 		fmt.Sprintf(_TPL_UPDATE_HOOK, setting.ScriptType, "\""+setting.AppPath+"\"", setting.CustomConf))
@@ -1620,11 +1625,6 @@ func MirrorUpdate() {
 	}
 }
 
-func DeleteMirrorByRepoID(repoId int64) error {
-	_, err := x.Delete(&Mirror{RepoID: repoId})
-	return err
-}
-
 // GitFsck calls 'git fsck' to check repository health.
 func GitFsck() {
 	if taskStatusPool.IsRunning(_GIT_FSCK) {

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


+ 3 - 5
routers/repo/setting.go

@@ -161,12 +161,10 @@ func SettingsPost(ctx *middleware.Context, form auth.RepoSettingForm) {
 		repo.IsMirror = false
 
 		if _, err := models.CleanUpMigrateInfo(repo, models.RepoPath(ctx.Repo.Owner.Name, repo.Name)); err != nil {
-			ctx.RenderWithErr(ctx.Tr("settings.convert.failed"), SETTINGS_OPTIONS, &form)
+			ctx.Handle(500, "CleanUpMigrateInfo", err)
 			return
-		}
-
-		if err := models.DeleteMirrorByRepoID(ctx.Repo.Repository.ID); err != nil {
-			ctx.RenderWithErr(ctx.Tr("settings.convert.failed"), SETTINGS_OPTIONS, &form)
+		} else if err = models.DeleteMirrorByRepoID(ctx.Repo.Repository.ID); err != nil {
+			ctx.Handle(500, "DeleteMirrorByRepoID", err)
 			return
 		}
 		log.Trace("Repository converted from mirror to regular: %s/%s", ctx.Repo.Owner.Name, repo.Name)

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.8.36.0214
+0.8.37.0215

+ 1 - 1
templates/repo/settings/options.tmpl

@@ -203,7 +203,7 @@
 
 			<div class="text right actions">
 				<div class="ui cancel button">{{.i18n.Tr "settings.cancel"}}</div>
-				<button class="ui red button">{{.i18n.Tr "repo.settings.confirm_convert"}}</button>
+				<button class="ui red button">{{.i18n.Tr "repo.settings.convert_confirm"}}</button>
 			</div>
 		</form>
 	</div>