Browse Source

add new locale

Unknwon 10 years ago
parent
commit
7dbb98b2a3
4 changed files with 740 additions and 12 deletions
  1. 2 2
      conf/app.ini
  2. 2 1
      conf/locale/TRANSLATORS
  3. 727 0
      conf/locale/locale_pt-BR.ini
  4. 9 9
      conf/locale/locale_zh-HK.ini

+ 2 - 2
conf/app.ini

@@ -286,5 +286,5 @@ INTERVAL = 24
 ARGS = 
 
 [i18n]
-LANGS = en-US,zh-CN,zh-HK,de-DE,fr-CA,nl-NL,lv-LV,ru-RU,ja-JP,es-ES
-NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本语,Español
+LANGS = en-US,zh-CN,zh-HK,de-DE,fr-CA,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR
+NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本语,Español,Português

+ 2 - 1
conf/locale/TRANSLATORS

@@ -7,4 +7,5 @@ Huimin Wang <wanghm2009@hotmail.co.jp>
 Thomas Fanninger <gogs.thomas@fanninger.at>
 Łukasz Jan Niemier <lukasz@niemier.pl>
 Lafriks <lafriks@gmail.com>
-Miguel de la Cruz <miguel@mcrx.me>
+Miguel de la Cruz <miguel@mcrx.me>
+Natan Albuquerque <natanalbuquerque5@gmail.com>

File diff suppressed because it is too large
+ 727 - 0
conf/locale/locale_pt-BR.ini


+ 9 - 9
conf/locale/locale_zh-HK.ini

@@ -286,8 +286,8 @@ need_auth=需要授權驗證
 migrate_type=遷移類型
 migrate_type_helper=本倉庫將是 <span class="label label-blue label-radius">鏡像</span>
 migrate_repo=遷移倉庫
-migrate.clone_address=Clone Address
-migrate.invalid_local_path=Invalid local path, it does not exist or not a directory.
+migrate.clone_address=複製地址
+migrate.invalid_local_path=無效的本地路徑,該路徑不存在或不是一個目錄!
 
 copy_link=複製連結
 click_to_copy=複製到剪切簿
@@ -516,8 +516,8 @@ dashboard.git_gc_repos=對倉庫進行垃圾回收
 dashboard.git_gc_repos_success=所有倉庫的垃圾回收已成功完成!
 dashboard.resync_all_sshkeys=重新生成 '.ssh/autorized_key' 文件(警告:不是 Gogs 的密鑰也會被刪除)
 dashboard.resync_all_sshkeys_success=所有公鑰重新生成成功!
-dashboard.resync_all_update_hooks=Rewrite all update hook of repositories (needed when custom config path is changed)
-dashboard.resync_all_update_hooks_success=All repositories' update hook have been rewritten successfully.
+dashboard.resync_all_update_hooks=重新生成所有倉庫的 Update 鈎子(用於被修改的自定義配置文件)
+dashboard.resync_all_update_hooks_success=已成功重新生成所有倉庫的 Update 鈎子!
 
 dashboard.server_uptime=服務執行時間
 dashboard.current_goroutine=當前 Goroutines 數量
@@ -595,10 +595,10 @@ auths.domain=域名
 auths.host=主機地址
 auths.port=主機端口
 auths.base_dn=Base DN
-auths.attribute_username=Username attribute
-auths.attribute_name=First name attribute
-auths.attribute_surname=Surname attribute
-auths.attribute_mail=E-mail attribute
+auths.attribute_username=用戶名屬性
+auths.attribute_name=名子屬性
+auths.attribute_surname=姓氏屬性
+auths.attribute_mail=電子郵箱屬性
 auths.filter=搜尋過濾
 auths.ms_ad_sa=Ms Ad SA
 auths.smtp_auth=SMTP 授權類型
@@ -650,7 +650,7 @@ config.reset_password_code_lives=重置密碼連結有效期
 config.webhook_config=Web 鉤子配置
 config.task_interval=任務周期
 config.deliver_timeout=推送超時
-config.skip_tls_verify=Skip TLS Verify
+config.skip_tls_verify=忽略 TLS 驗證
 config.mailer_config=郵件配置
 config.mailer_enabled=啟用服務
 config.mailer_name=發送者名稱