diff --git a/app/views/member_counselors/_body.html.erb b/app/views/member_counselors/_body.html.erb
index 48f6856..01f5f0e 100644
--- a/app/views/member_counselors/_body.html.erb
+++ b/app/views/member_counselors/_body.html.erb
@@ -16,9 +16,9 @@
<%= file.created_at.strftime("%y/%m/%d") %> |
<%= file.title %> |
- Download
+ <%= t("member_counselor.download") %>
<%= t("edit") %>
- <%= t("delete") %>
+ <%= t("member_counselor.delete") %>
|
<% end %>
@@ -48,9 +48,9 @@
<%= file.created_at.strftime("%y/%m/%d") %> |
<%= file.title %> |
- Download
+ <%= t("member_counselor.download") %>
<%= t("edit") %>
- <%= t("delete") %>
+ <%= t("member_counselor.delete") %>
|
<% end %>
diff --git a/app/views/member_counselors/_counselor_body.html.erb b/app/views/member_counselors/_counselor_body.html.erb
index f36e792..fd787b5 100644
--- a/app/views/member_counselors/_counselor_body.html.erb
+++ b/app/views/member_counselors/_counselor_body.html.erb
@@ -1,7 +1,7 @@
<%= csrf_meta_tag %>
- 輔導記錄單 New Record
+ 輔導記錄單 <%= t("member_counselor.new_record") %>
新增日期 |
@@ -16,15 +16,15 @@
<%= record.created_at.strftime("%y/%m/%d") %> |
<%= record.get_title %> |
- Edit
- View
- Delete
+ <%= t("edit") %>
+ <%= t("member_counselor.view") %>
+ <%= t("member_counselor.delete") %>
|
<% end %>
<% else %>
- No records found. |
+ <%= t("member_counselor.no_record_found") %> |
<% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 8a1a436..6ff3746 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -35,4 +35,9 @@ en:
downloaded_times: Download Count
date: Date
action: Action
- no_files_uploaded: No Files Uploaded
\ No newline at end of file
+ no_files_uploaded: No Files Uploaded
+ delete: Delete
+ download: Download
+ new_record: New Record
+ view: View
+ no_record_found: No Record Found
\ No newline at end of file
diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml
index cee6202..02b7a69 100644
--- a/config/locales/zh_tw.yml
+++ b/config/locales/zh_tw.yml
@@ -1,11 +1,11 @@
zh_tw:
member_counselor:
- member_counselor: HPS Members
- new_user: Create User
- all_members: All Members
- uploads: Uploads
- results: Results
- records: Counselor Records
+ member_counselor: HPS 會員
+ new_user: 新增使用者
+ all_members: 所有會員
+ uploads: 上傳
+ results: 成果報告
+ records: 輔導委員記錄
account: 帳號
password: 密碼
confirm_password: 確認密碼
@@ -16,7 +16,7 @@ zh_tw:
organization: 服務機關
title: 職稱
event_title: 會議/活動名稱
- export: Export
+ export: 匯出
county: 縣市
address: 地址
email: 電子信箱
@@ -27,15 +27,21 @@ zh_tw:
type1: 學校單位
type2: 縣市政府
type3: 輔導委員
- user_type: User Type
+ user_type: 會員身份
school: 學校
city: 縣市
year: 年度
- file_date: Date
- downloaded_times: Download Count
+ file_date: 日期
+ downloaded_times: 下載次數
date: 日期
action: 操作
no_files_uploaded: 尚未上傳任何檔案
+ delete: 刪除
+ download: 下載
+ new_record: 新記錄
+ view: 預覽
+ no_record_found: 無記錄
+