translations added
This commit is contained in:
parent
9c6bef074c
commit
acf3333775
|
@ -16,9 +16,9 @@
|
||||||
<td><%= file.created_at.strftime("%y/%m/%d") %></td>
|
<td><%= file.created_at.strftime("%y/%m/%d") %></td>
|
||||||
<td><%= file.title %></td>
|
<td><%= file.title %></td>
|
||||||
<td>
|
<td>
|
||||||
<a href="<%= file.file.url %>" target="_blank">Download</a>
|
<a href="<%= file.file.url %>" target="_blank"><%= t("member_counselor.download") %></a>
|
||||||
<a href="<%= edit_upload_cuser_file_path(file) %>"><%= t("edit") %></a>
|
<a href="<%= edit_upload_cuser_file_path(file) %>"><%= t("edit") %></a>
|
||||||
<a style="color: red;" href="<%= delete_upload_cuser_file_path(file) %>" data-method="delete" data-confirm="Are you sure?"><%= t("delete") %></a>
|
<a style="color: red;" href="<%= delete_upload_cuser_file_path(file) %>" data-method="delete" data-confirm="Are you sure?"><%= t("member_counselor.delete") %></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -48,9 +48,9 @@
|
||||||
<td><%= file.created_at.strftime("%y/%m/%d") %></td>
|
<td><%= file.created_at.strftime("%y/%m/%d") %></td>
|
||||||
<td><%= file.title %></td>
|
<td><%= file.title %></td>
|
||||||
<td>
|
<td>
|
||||||
<a href="<%= file.file.url %>" target="_blank">Download</a>
|
<a href="<%= file.file.url %>" target="_blank"><%= t("member_counselor.download") %></a>
|
||||||
<a href="<%= edit_upload_cuser_result_path(file) %>"><%= t("edit") %></a>
|
<a href="<%= edit_upload_cuser_result_path(file) %>"><%= t("edit") %></a>
|
||||||
<a style="color: red;" href="<%= delete_upload_cuser_result_path(file) %>" data-method="delete" data-confirm="Are you sure?"><%= t("delete") %></a>
|
<a style="color: red;" href="<%= delete_upload_cuser_result_path(file) %>" data-method="delete" data-confirm="Are you sure?"><%= t("member_counselor.delete") %></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<%= csrf_meta_tag %>
|
<%= csrf_meta_tag %>
|
||||||
<script type="text/javascript" src="/assets/jquery_ujs.js"></script>
|
<script type="text/javascript" src="/assets/jquery_ujs.js"></script>
|
||||||
<table width="100%" border="1">
|
<table width="100%" border="1">
|
||||||
<caption>輔導記錄單 <a href="<%= new_counselor_record_path %>" style="float: right;" class="btn btn-primary">New Record</a></caption>
|
<caption>輔導記錄單 <a href="<%= new_counselor_record_path %>" style="float: right;" class="btn btn-primary"><%= t("member_counselor.new_record") %></a></caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th width="100px" >新增日期</th>
|
<th width="100px" >新增日期</th>
|
||||||
|
@ -16,15 +16,15 @@
|
||||||
<td><%= record.created_at.strftime("%y/%m/%d") %></td>
|
<td><%= record.created_at.strftime("%y/%m/%d") %></td>
|
||||||
<td><%= record.get_title %></td>
|
<td><%= record.get_title %></td>
|
||||||
<td>
|
<td>
|
||||||
<a href="<%= edit_counselor_record_path(record) %>">Edit</a>
|
<a href="<%= edit_counselor_record_path(record) %>"><%= t("edit") %></a>
|
||||||
<a href="<%= show_counselor_record_path(record) %>">View</a>
|
<a href="<%= show_counselor_record_path(record) %>"><%= t("member_counselor.view") %></a>
|
||||||
<a style="color: red;" href="<%= delete_counselor_record_path(record) %>" data-method="delete" data-confirm="Are you sure?">Delete</a>
|
<a style="color: red;" href="<%= delete_counselor_record_path(record) %>" data-method="delete" data-confirm="Are you sure?"><%= t("member_counselor.delete") %></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3" style="text-align: center;">No records found.</td>
|
<td colspan="3" style="text-align: center;"><%= t("member_counselor.no_record_found") %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -35,4 +35,9 @@ en:
|
||||||
downloaded_times: Download Count
|
downloaded_times: Download Count
|
||||||
date: Date
|
date: Date
|
||||||
action: Action
|
action: Action
|
||||||
no_files_uploaded: No Files Uploaded
|
no_files_uploaded: No Files Uploaded
|
||||||
|
delete: Delete
|
||||||
|
download: Download
|
||||||
|
new_record: New Record
|
||||||
|
view: View
|
||||||
|
no_record_found: No Record Found
|
|
@ -1,11 +1,11 @@
|
||||||
zh_tw:
|
zh_tw:
|
||||||
member_counselor:
|
member_counselor:
|
||||||
member_counselor: HPS Members
|
member_counselor: HPS 會員
|
||||||
new_user: Create User
|
new_user: 新增使用者
|
||||||
all_members: All Members
|
all_members: 所有會員
|
||||||
uploads: Uploads
|
uploads: 上傳
|
||||||
results: Results
|
results: 成果報告
|
||||||
records: Counselor Records
|
records: 輔導委員記錄
|
||||||
account: 帳號
|
account: 帳號
|
||||||
password: 密碼
|
password: 密碼
|
||||||
confirm_password: 確認密碼
|
confirm_password: 確認密碼
|
||||||
|
@ -16,7 +16,7 @@ zh_tw:
|
||||||
organization: 服務機關
|
organization: 服務機關
|
||||||
title: 職稱
|
title: 職稱
|
||||||
event_title: 會議/活動名稱
|
event_title: 會議/活動名稱
|
||||||
export: Export
|
export: 匯出
|
||||||
county: 縣市
|
county: 縣市
|
||||||
address: 地址
|
address: 地址
|
||||||
email: 電子信箱
|
email: 電子信箱
|
||||||
|
@ -27,15 +27,21 @@ zh_tw:
|
||||||
type1: 學校單位
|
type1: 學校單位
|
||||||
type2: 縣市政府
|
type2: 縣市政府
|
||||||
type3: 輔導委員
|
type3: 輔導委員
|
||||||
user_type: User Type
|
user_type: 會員身份
|
||||||
school: 學校
|
school: 學校
|
||||||
city: 縣市
|
city: 縣市
|
||||||
year: 年度
|
year: 年度
|
||||||
file_date: Date
|
file_date: 日期
|
||||||
downloaded_times: Download Count
|
downloaded_times: 下載次數
|
||||||
date: 日期
|
date: 日期
|
||||||
action: 操作
|
action: 操作
|
||||||
no_files_uploaded: 尚未上傳任何檔案
|
no_files_uploaded: 尚未上傳任何檔案
|
||||||
|
delete: 刪除
|
||||||
|
download: 下載
|
||||||
|
new_record: 新記錄
|
||||||
|
view: 預覽
|
||||||
|
no_record_found: 無記錄
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue