From 44a6eaf524c773946ccfec54c5e7a02c73486ec7 Mon Sep 17 00:00:00 2001 From: xqm Date: Mon, 15 May 2017 01:32:25 +0800 Subject: [PATCH] Add new translations Add new translations --- templates/_captcha.html | 2 +- templates/_profile_edit.html | 2 +- templates/admin/paneltorrentedit.html | 2 +- templates/upload.html | 2 +- translations/en-us.all.json | 12 ++++++++++++ translations/zh-cn.all.json | 12 ++++++++++++ 6 files changed, 28 insertions(+), 4 deletions(-) diff --git a/templates/_captcha.html b/templates/_captcha.html index 3269a0ec..9d1059d5 100644 --- a/templates/_captcha.html +++ b/templates/_captcha.html @@ -2,7 +2,7 @@ {{/* unset if user doesn't need captcha */}} {{if ne .CaptchaID ""}}
- + diff --git a/templates/_profile_edit.html b/templates/_profile_edit.html index 076165ea..e0b10c7a 100644 --- a/templates/_profile_edit.html +++ b/templates/_profile_edit.html @@ -102,7 +102,7 @@
- +
diff --git a/templates/admin/paneltorrentedit.html b/templates/admin/paneltorrentedit.html index 784e2517..2a2dc283 100644 --- a/templates/admin/paneltorrentedit.html +++ b/templates/admin/paneltorrentedit.html @@ -10,7 +10,7 @@ {{end}}
- +
diff --git a/templates/upload.html b/templates/upload.html index 57fd35a7..43b46866 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -7,7 +7,7 @@
- +
diff --git a/translations/en-us.all.json b/translations/en-us.all.json index ca8b2bcc..9f6548a8 100644 --- a/translations/en-us.all.json +++ b/translations/en-us.all.json @@ -686,5 +686,17 @@ { "id": "duplicate_deprecated", "translation": "Duplicate / Deprecated" + }, + { + "id": "captcha", + "translation": "Captcha" + }, + { + "id": "file_name", + "translation": "File Name" + }, + { + "id": "cancel", + "translation": "Cancel" } ] diff --git a/translations/zh-cn.all.json b/translations/zh-cn.all.json index 08d6459f..932f2ddc 100644 --- a/translations/zh-cn.all.json +++ b/translations/zh-cn.all.json @@ -674,5 +674,17 @@ { "id": "duplicate_deprecated", "translation": "资源重复 / 低质量" + }, + { + "id": "captcha", + "translation": "验证码" + }, + { + "id": "file_name", + "translation": "文件名" + }, + { + "id": "cancel", + "translation": "取消" } ] \ No newline at end of file