From 4489aeda444a515b4f1ba48936fc6ec462e81cc1 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 3 Jan 2018 16:45:07 +0800 Subject: [PATCH] small fir marital and also chinese files translated --- app/controllers/recruitments_controller.rb | 2 +- config/locales/en.yml | 2 +- config/locales/zh_tw.yml | 126 ++++++++++----------- 3 files changed, 65 insertions(+), 65 deletions(-) diff --git a/app/controllers/recruitments_controller.rb b/app/controllers/recruitments_controller.rb index 0cec597..59c2242 100644 --- a/app/controllers/recruitments_controller.rb +++ b/app/controllers/recruitments_controller.rb @@ -180,7 +180,7 @@ class RecruitmentsController < PseudoSessionController "gender-title" => t("recruitment.gender_title"), "gender" => t("recruitment.gender.#{profile.gender}"), "martial-title" => t("recruitment.martial_title"), - "martial" => t("recruitment.martial.#{profile.marital_status}"), + "martial" => (!profile.marital_status.nil? && profile.marital_status != "" ? t("recruitment.martial.#{profile.marital_status}") : t("recruitment.not_available")), "language-title" => t("recruitment.language_title"), "language" => profile.languages, "workingtime-title" => t("recruitment.workingtime_title"), diff --git a/config/locales/en.yml b/config/locales/en.yml index 1628d8f..012282e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -36,7 +36,7 @@ en: recommendation2_info: Recommendation (Second) resume_text: Download CV gender_title: Gender - martial_title: Martial Status + martial_title: Marital Status martial: type1: Un-Married type2: Married diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 1628d8f..b8ff51b 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -1,74 +1,74 @@ -en: +zh_tw: module_name: - recruitment: Recruitment + recruitment: 應徵 recruitment: - recruitment: Recruitment - select_a_profile: Please select a profile - employee: Employee - employer: Employer - members: Members - industries: Industry Type - categories: Job Category - industry_title: Industry Title - job_category: Job Category - company_profile: Company Profile - job_description: Job Description - responsibility: Job Responsibilities - other_conditions: Job Conditions - location: Location - not_available: Not Available - skills_title: Required Skills - experience_title: Min Experience - qualification: Qualification - salary-title: Salary - travel: Travel - joining: Joining Time - worktype_title: Work Type - language: Language Requirements - language_title: Languages - workingtime_title: Working Time - holiday_title: Holiday - fresher: Fresher - advanced_search: Advanced Search - autobiography: Autobiography - resume_content: Resume - recommendation1_info: Recommendation (First) - recommendation2_info: Recommendation (Second) - resume_text: Download CV - gender_title: Gender - martial_title: Martial Status + recruitment: 應徵 + select_a_profile: 請選擇一個檔案 + employee: 員工 + employer: 雇主 + members: 成員 + industries: 行業 + categories: 工作類別 + industry_title: 行業 + job_category: 工作類別 + company_profile: 公司簡介 + job_description: 工作描述 + responsibility: 工作內容 + other_conditions: 工作條件 + location: 位置 + not_available: 無相關資訊 + skills_title: 需要工作技能 + experience_title: 需要相關經驗 + qualification: 條件 + salary-title: 薪水 + travel: 是否需要出差 + joining: 何時可加入? + worktype_title: 職稱 + language: 需求語言 + language_title: 求職者會的語言 + workingtime_title: 工作時間 + holiday_title: 假期 + fresher: 新鮮人 + advanced_search: 進階搜尋 + autobiography: 自傳 + resume_content: 履歷 + recommendation1_info: 推薦信 (1) + recommendation2_info: 推薦信 (2) + resume_text: 下載履歷 + gender_title: 性別 + martial_title: 婚姻狀況 martial: - type1: Un-Married - type2: Married + type1: 未婚 + type2: 已婚 gender: - type1: Male - type2: Female - type3: Other + type1: 男性 + type2: 女性 + type3: 其他 salary: - type1: Negotiable - type2: According to company rules - type3: Monthly Salary + type1: 待議 + type2: 根據公司規定 + type3: 月薪 travel_assignment: - type1: Need to travel - type2: Occasionally - type3: Travelling not required + type1: 需出差 + type2: 偶爾出差 + type3: 無須出差 working_time: - type1: Day Shift - type2: Night Shift + type1: 白天工作 + type2: 晚上工作 holiday_system: - type1: According to company rules - type2: Other + type1: 根據公司規定 + type2: 其他 joining_time: - type1: Within a month - type2: More than a month + type1: 一個月內可上班 + type2: 一個月內無法上班 work_type: - type1: Office Worker - type2: Graduate - type3: Foreigner - type4: Internship - type5: SOHO + type1: 有工作經驗 + type2: 畢業生 + type3: 外國人 + type4: 工讀生 + type5: 在家辦公 academic_type: - type1: Bachelors - type2: Masters - type3: PhD - type4: Certificate Course \ No newline at end of file + type1: 學士 + type2: 碩士 + type3: 博士 + type4: 相關認證,經歷 \ No newline at end of file