languages fix

This commit is contained in:
Harry Bomrah 2018-01-19 17:08:40 +08:00
parent 795fe4b760
commit 85cf4641a2
6 changed files with 67 additions and 32 deletions

View File

@ -2,7 +2,7 @@
<table class="table main-list">
<thead>
<tr class="sort-header">
<th>Title</th>
<th><%= t("recruitment.categories") %></th>
</tr>
</thead>
<tbody>
@ -24,7 +24,7 @@
</span>
<div class="bottomnav clearfix">
<div class="pull-right">
<a href="<%= addcategory_admin_recruitments_path %>" id="addIndustryBtn" class="btn btn-primary categoryBtn">Add Category</a>
<a href="<%= addcategory_admin_recruitments_path %>" id="addIndustryBtn" class="btn btn-primary categoryBtn"><%= t("recruitment.add_category") %></a>
</div>
</div>
@ -32,12 +32,12 @@
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Job Category</h3>
<h3 id="myModalLabel"><%= t("recruitment.job_category") %></h3>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary" id="save-btn">Save</button>
<button class="btn" data-dismiss="modal" aria-hidden="true"><%= t("close") %></button>
<button class="btn btn-primary" id="save-btn"><%= t("save") %></button>
</div>
</div>

View File

@ -39,27 +39,27 @@
<h3>Summary</h3>
<ul class="all-stats">
<li>
<div class="heading">Total Job Postings</div>
<div class="heading"><%= t("recruitment.total_job_postings") %></div>
<div class="count"><%= @job_postings %></div>
</li>
<li>
<div class="heading">Total Internship Postings</div>
<div class="heading"><%= t("recruitment.total_internship_postings") %></div>
<div class="count"><%= @internship_postings %></div>
</li>
<li>
<div class="heading">Total Exchange Postings</div>
<div class="heading"><%= t("recruitment.total_exchange_postings") %></div>
<div class="count"><%= @exchange_postings %></div>
</li>
<li>
<div class="heading">Total Employees</div>
<div class="heading"><%= t("recruitment.total_employees") %></div>
<div class="count"><%= @total_employees %></div>
</li>
<li>
<div class="heading">Total Employers</div>
<div class="heading"><%= t("recruitment.total_employers") %></div>
<div class="count"><%= @total_employers %></div>
</li>
<li>
<div class="heading">Total Positions Filled</div>
<div class="heading"><%= t("recruitment.total_positions_filled") %></div>
<div class="count"><%= @total_position_filled %></div>
</li>
</ul>

View File

@ -2,7 +2,7 @@
<table class="table main-list">
<thead>
<tr class="sort-header">
<th>Title</th>
<th><%= t("recruitment.title") %></th>
</tr>
</thead>
<tbody>
@ -24,7 +24,7 @@
</span>
<div class="bottomnav clearfix">
<div class="pull-right">
<a href="<%= addindustry_admin_recruitments_path %>" id="addIndustryBtn" class="btn btn-primary industryBtn">Add Industry</a>
<a href="<%= addindustry_admin_recruitments_path %>" id="addIndustryBtn" class="btn btn-primary industryBtn"><%= t("recruitment.add_industry") %></a>
</div>
</div>
@ -32,12 +32,12 @@
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Industry</h3>
<h3 id="myModalLabel"><%= t("recruitment.industry_title") %></h3>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary" id="save-btn">Save</button>
<button class="btn" data-dismiss="modal" aria-hidden="true"><%= t("close") %></button>
<button class="btn btn-primary" id="save-btn"><%= t("save") %></button>
</div>
</div>

View File

@ -1,19 +1,19 @@
<% if params[:type] == "posting" %>
<h4>
Posting statistics for the month
<b><i><%= @startdt.strftime("%B %Y") %></i></b>
<%= t("recruitment.posting_for_the_month") %>
<b><i> <%= @startdt.strftime("%B %Y") %></i></b>
</h4>
<%= column_chart @data, ytitle: t("recruitment.number_of_posts"), label: t("recruitment.number_of_posts"), id: "posting_chart" %>
<% elsif params[:type] == "registration" %>
<h4>
Registration statistics for the month
<b><i><%= @startdt.strftime("%B %Y") %></i></b>
<%= t("recruitment.registration_for_month") %>
<b><i> <%= @startdt.strftime("%B %Y") %></i></b>
</h4>
<%= column_chart @data, ytitle: t("recruitment.number_of_registered_users"), label: t("recruitment.number_of_registered_users"), id: "registration_chart", colors: ["#f2096e"] %>
<% elsif params[:type] == "filled" %>
<h4>
Positions filled statistics for the month
<b><i><%= @startdt.strftime("%B %Y") %></i></b>
<%= t("recruitment.positions_for_month") %>
<b><i> <%= @startdt.strftime("%B %Y") %></i></b>
</h4>
<%= column_chart @data, ytitle: t("recruitment.number_of_positions_filled"), label: t("recruitment.number_of_positions_filled"), id: "filled_chart", colors: ["#aff109"] %>
<% end %>

View File

@ -1,12 +1,29 @@
en:
application_type: Application Type
restful_actions:
postings: Postings
industries: Industries
module_name:
recruitment: Recruitment
recruitment:
total_internship_postings: Total Internship Postings
total_exchange_postings: Total Exchange Postings
total_employees: Total Employees
total_employers: Total Employers
total_positions_filled: Total Positions Filled
total_job_postings: Total Job Postings
posting_for_the_month: Posting statistics for the month
registration_for_month: Registration statistics for the month
positions_for_month: Positions filled statistics for the month
edit_exchange: Edit Exchange
show_jobs: Show Jobs
number_of_positions_filled: Number of position filled
number_of_registered_users: Number of registered users
select_year: Year
title: Title
add_industry: Add Industry
add_category: Add Category
job_category: Job Category
select_month: Month
postings: Postings
number_of_posts: Number of Posts

View File

@ -1,16 +1,34 @@
zh_tw:
application_type: 申請類別
restful_actions:
postings: 張貼資訊
industries: 行業
categories: 工作類別
module_name:
recruitment: 招募
recruitment:
edit_exchange: Edit Exchange
show_jobs: Show Jobs
number_of_positions_filled: Number of position filled
number_of_registered_users: Number of registered users
select_year: Year
select_month: Month
postings: Postings
number_of_posts: Number of Posts
number_of_applicants: Number of Applications
total_internship_postings: 全部實習生需求列表
total_exchange_postings: 全部交換生需求列表
total_employees: 所有雇員
total_employers: 所有雇主
total_positions_filled: 全部已完成之雇用
total_job_postings: 全部工作需求文章
posting_for_the_month: 本月PO文結算
registration_for_month: 本月註冊人數
positions_for_month: 本月新僱員數
edit_exchange: 編輯交換生資訊
show_jobs: 列出所有工作
number_of_positions_filled: 新僱員數
number_of_registered_users: 新註冊人數
select_year:
select_month:
title: 職稱
add_industry: 新增產業
add_category: 新增工作類別
job_category: 工作類別
postings: 張貼資訊
number_of_posts: 文章數目
number_of_applicants: 申請件數
applications: 應用
disable_user: 停止用戶
enable_user: 啟動用戶
@ -91,7 +109,7 @@ zh_tw:
degree_name: 學位名稱
note: 筆記
end_date: 結束日期
job_title: 工作
job_title: 工作
company_name: 公司名稱
applied_date: 應徵日期
no_jobs_found: 無相關工作