From 506e359c1d0b89e993842c6c5c3c284e601ce4b3 Mon Sep 17 00:00:00 2001 From: toogee Date: Tue, 3 Nov 2020 22:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0TW=E8=AF=AD=E8=A8=80=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/lang/en-us.php | 31 +++++++++- app/index/lang/zh-cn.php | 27 ++++++++- app/index/lang/zh-tw.php | 85 +++++++++++++++++++++++++++- view/taoler/index/login/forget.html | 36 ++++++------ view/taoler/index/login/login.html | 22 +++---- view/taoler/index/login/reg.html | 30 +++++----- view/taoler/index/public/column.html | 4 +- 7 files changed, 184 insertions(+), 51 deletions(-) diff --git a/app/index/lang/en-us.php b/app/index/lang/en-us.php index fe5c168..379b622 100644 --- a/app/index/lang/en-us.php +++ b/app/index/lang/en-us.php @@ -4,7 +4,7 @@ return [ //语言 'language' => 'language', 'chinese' => '中文简体', - 'english' => 'english', + 'english' => 'English', //menu 'index' => 'Index', @@ -16,6 +16,8 @@ return [ 'login' => 'Login', 'logout' => 'Logout', + 'sign in' => 'Sign in', + 'sign up' => 'Sign up', 'register' => 'Register', 'discuss' => 'Discuss', 'case' => 'Case', @@ -39,7 +41,6 @@ return [ 'reviewers list' => 'Reviewers list', 'hot post list' => 'Hot post list', 'links list' => 'Links list', - 'Sign in' => 'Sign in', 'statement' => 'Statement', 'trends' => 'Trends', 'sponsor' => 'Sponsor sponsor', @@ -63,4 +64,30 @@ return [ 'edit success' => 'articel edit success', 'edit error' => 'articel edit error', 'illegal_request' => 'illegal request', + + //Sign in/up + 'username' => 'Username', + 'password' => 'Password', + 'new password' => 'New Password', + 'reset password' => 'Reset password', + 'retrieve password' => 'Retrieve password', + 'email' => 'Email', + 'confirm password' => 'Confirm password', + 'captcha' => 'Captcha', + 'remember password' => 'Remember password', + 'forget password' => 'Forget password', + 'login now' => 'Login now', + 'submit' => 'Submit', + 'go back' => 'Go back', + 'register now' => 'Register now', + 'mail/username' => 'mail/username', + '6-16 characters' => '6-16 characters', + 'strong type encryption' => 'Strong type encryption', + 'it cannot be changed' => 'It cannot be changed', + 'the only way to get back your password' => 'The only way to get back your password', + 'please input the password' => 'Please input the password', + 'please confirm the password' => 'Please confirm the password', + 'please input the captcha' => 'Please input the captcha', + + ]; \ No newline at end of file diff --git a/app/index/lang/zh-cn.php b/app/index/lang/zh-cn.php index 5c29112..38e5fda 100644 --- a/app/index/lang/zh-cn.php +++ b/app/index/lang/zh-cn.php @@ -16,6 +16,8 @@ return [ 'login' => '登录', 'logout' => '退出', + 'sign in' => '签到', + 'sign up' => '注册', 'register' => '注册', 'discuss' => '讨论', 'case' => '案例', @@ -39,7 +41,6 @@ return [ 'reviewers list' => '回帖热榜', 'hot post list' => '本周热议', 'links list' => '温馨通道', - 'Sign in' => '签到', 'statement' => '说明', 'trends' => '动态', 'sponsor' => '钻级赞助商', @@ -62,4 +63,28 @@ return [ 'edit success' => '修改成功', 'edit error' => '修改失败', 'illegal request' => '非法请求', + + //Sign in/up + 'username' => '用户', + 'password' => '密码', + 'new password' => '新密码', + 'reset password' => '重置密码', + 'retrieve password' => '找回密码', + 'email' => '邮箱', + 'confirm password' => '确认密码', + 'captcha' => '验证码', + 'remember password' => '一周内记住密码', + 'forget password' => '忘记密码', + 'login now' => '立即登录', + 'submit' => '提交', + 'go back' => '返回', + 'register now' => '立即注册', + 'mail/username' => '邮箱/用户名', + '6-16 characters' => '6-16 字符', + 'strong type encryption' => '经过强类型加密', + 'it cannot be changed' => '不能更改', + 'the only way to get back your password' => '找回密码唯一途径', + 'please input the password' => '请输入密码', + 'please confirm the password' => '请确认密码', + 'please input the captcha' => '请输入验证码', ]; \ No newline at end of file diff --git a/app/index/lang/zh-tw.php b/app/index/lang/zh-tw.php index 212a3ca..752e4cf 100644 --- a/app/index/lang/zh-tw.php +++ b/app/index/lang/zh-tw.php @@ -1,9 +1,90 @@ '数据类型错误', - 'add success' => '添加成功', + //語言 + 'language' => 'language', + 'chinese' => '中文簡體', + 'english' => 'English', + + //menu + 'index' => '首頁', + 'home page' => '首頁', + 'user center' => '用戶中心', + 'set info' => '設置', + 'my message' => '我的消息', + 'my page' => '我的主頁', + + 'login' => '登錄', + 'logout' => '退出', + 'sign in' => '簽到', + 'sign up' => '註冊', + 'register' => '註冊', + 'discuss' => '討論', + 'case' => '案例', + 'timeline' => '框架日誌', + + //帖子 + 'title color' => '顏色', + 'add_post' => '添加帖子', + 'my collection' => '我的收藏', + 'cancel collection' => '取消收藏', + 'all' => '綜合', + 'finished' => '已結', + 'no finished' => '未結', + 'hot' => '熱貼', + 'top' => '精貼', + 'cancel hoting' => '取消精貼', + 'cancel topping' => '取消置頂', + 'go sign' => '去簽到', + 'more post' => '更多帖子', + 'friendly link' => '友情鏈接', + 'reviewers list' => '回帖熱榜', + 'hot post list' => '本周熱議', + 'links list' => '溫馨通道', + 'statement' => '說明', + 'trends' => '動態', + 'sponsor' => '鉆級贊助商', + 'i want to join' => '我要加入', + 'official products' => '官方產品', + 'no comments' => '暫時還沒有評論', + 'submit comments' => '提交評論', + 'reply' => '回復', + 'accept' => '采納', + 'please input the content' => '請輸入內容', + 'ads area' => '廣告區', + 'enclosure' => '附件', + 'download files' => '下載文件', + + //message + 'add' => '添加', + 'delete' => '刪除', + 'add success' => '添加成功!', 'add error' => '添加失敗', 'edit success' => '修改成功', 'edit error' => '修改失敗', + 'illegal request' => '非法請求', + + //Sign in/up + 'username' => '用戶', + 'password' => '密碼', + 'new password' => '新密碼', + 'reset password' => '重置密碼', + 'retrieve password' => '找回密碼', + 'email' => '郵箱', + 'confirm password' => '確認密碼', + 'captcha' => '驗證碼', + 'remember password' => '壹周內記住密碼', + 'forget password' => '忘記密碼', + 'login now' => '立即登錄', + 'submit' => '提交', + 'go back' => '返回', + 'register now' => '立即註冊', + 'mail/username' => '郵箱/用戶名', + '6-16 characters' => '6-16 字符', + 'strong type encryption' => '經過強類型加密', + 'it cannot be changed' => '不能更改', + 'the only way to get back your password' => '找回密碼唯壹途徑', + 'please input the password' => '請輸入密碼', + 'please confirm the password' => '請確認密碼', + 'please input the captcha' => '請輸入驗證碼', ]; \ No newline at end of file diff --git a/view/taoler/index/login/forget.html b/view/taoler/index/login/forget.html index 4a11382..9d22e6a 100644 --- a/view/taoler/index/login/forget.html +++ b/view/taoler/index/login/forget.html @@ -1,15 +1,15 @@ {extend name="public/base" /} -{block name="title"}密码找回{/block} +{block name="title"}{:lang('retrieve password')}{/block} {block name="column"}{/block} {block name="content"}
    -
  • 登入
  • -
  • {if cache('repass')==2}重置密码{else /}找回密码{/if}
  • +
  • {:lang('login')}
  • +
  • {if cache('repass')==2}{:lang('reset password')}{else /}{:lang('retrieve password')}{/if}
@@ -19,14 +19,14 @@
- +
- - 返回 + + {:lang('go back')}
@@ -34,26 +34,26 @@ {elseif cache('repass')==2 /} -
请重置您的密码
+
{:lang('reset password')}
- +
-
6到16个字符
+
{:lang('6-16 characters')}
- +
- +
- +
@@ -68,7 +68,7 @@ --> - +
@@ -81,15 +81,15 @@
- +
- +
- +
- +
@@ -99,7 +99,7 @@
- +
diff --git a/view/taoler/index/login/login.html b/view/taoler/index/login/login.html index a69248e..8fe09d2 100644 --- a/view/taoler/index/login/login.html +++ b/view/taoler/index/login/login.html @@ -7,41 +7,41 @@
- +
- +
- +
- +
- +
- +
captcha
- +
- + - 忘记密码? + {:lang('forget password')}?