From b015f4d3f75dee8b249cb75e76e64b2c29e0c1c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Thu, 10 Mar 2022 12:40:11 +0800 Subject: [PATCH] change translations --- app/controllers/admin/application_forms_controller.rb | 2 +- app/views/admin/application_forms/_index.html.erb | 8 -------- config/locales/en.yml | 6 +++--- config/locales/zh_tw.yml | 6 +++--- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/app/controllers/admin/application_forms_controller.rb b/app/controllers/admin/application_forms_controller.rb index 4138874..9602535 100644 --- a/app/controllers/admin/application_forms_controller.rb +++ b/app/controllers/admin/application_forms_controller.rb @@ -370,7 +370,7 @@ class Admin::ApplicationFormsController < OrbitAdminController def index @categories = @module_app.categories.enabled @filter_fields = filter_fields(@categories) - @table_fields = [:category, 'application_form.title', 'application_form.event_during', 'application_form.signup_during', 'application_form.signup_count', 'application_form.export'] + @table_fields = [:category, 'application_form.title', 'application_form.event_during', 'application_form.signup_count', 'application_form.export'] if !params[:sort].blank? if params[:sort] == 'event_during' diff --git a/app/views/admin/application_forms/_index.html.erb b/app/views/admin/application_forms/_index.html.erb index 5855d25..c52655d 100644 --- a/app/views/admin/application_forms/_index.html.erb +++ b/app/views/admin/application_forms/_index.html.erb @@ -25,21 +25,13 @@ <% if admin_for_application_form(application_form) %>
  • <%= t(:edit) %>
  • <%= t("application_form.copy") %>
  • -
  • <%= t('application_form.set_application_form_item_content') %>
  • -
  • <%= t('application_form.set_application_form_signup_field') %>
  • -
  • <%= t('application_form.set_application_form_submission_field') %>
  • <%= t('application_form.reviewer_setting') %>
  • -
  • <%= t('application_form.template_setting') %>
  • -
  • <%= t('application_form.sub_page_setting') %>
  • -
  • "><%= t('application_form.announcement_manage') %>(<%=application_form.annc_count%>)
  • -
  • "><%= t('application_form.album_manage') %>(<%=application_form.album_count%>)
  • <%= t(:delete_) %>
  • <% end %> <%= ApplicationFormMain.time_range(application_form.application_form_start_date, application_form.application_form_end_date) %> - <%= ApplicationFormMain.time_range(application_form.signup_start_date, application_form.signup_end_date) %> <% @application_form_review = application_form.application_form_reviews.where(:reviewer_id => current_user.member_profile_id.to_s).first %> <% if @application_form_review.present? && !@can_edit %> diff --git a/config/locales/en.yml b/config/locales/en.yml index ae2826c..b03ee8a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -124,7 +124,7 @@ en: yes_: Yes #是 no_: No #否 application_form: Application Forms #線上申請表單 - title: Conference Name #線上申請表單名稱 + title: Form Title speaker: Speaker #主講者 content: Content #內容說明 act_place: Application Forms Location #活動地點 @@ -137,10 +137,10 @@ en: signup_end_date: Sign Up End Date #報名結束時間 contribute_start_date: Contribute Start Date #投稿開始時間 contribute_end_date: Contirbute End Date #投稿結束時間 - event_during: Event During #活動期間 + event_during: Valid Period contribute_during: Contribute During #投稿期間 signup_during: Sign Up During #報名期間 - signup_count: Sign Up Count #報名人數 + signup_count: Applications signup: Sign Up #報名 export: Export #匯出 set_application_form_items: Items #項目 diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 559bb60..e16455f 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -125,7 +125,7 @@ zh_tw: yes_: 是 no_: 否 application_form: 線上申請表單 - title: 線上申請表單名稱 + title: 表單名稱 speaker: 主講者 content: 內容說明 act_place: 活動地點 @@ -138,10 +138,10 @@ zh_tw: signup_end_date: 報名結束時間 contribute_start_date: 投稿開始時間 contribute_end_date: 投稿結束時間 - event_during: 活動期間 + event_during: 有效期間 contribute_during: 投稿期間 signup_during: 報名期間 - signup_count: 報名人數 + signup_count: 申請紀錄 signup: 報名 export: 匯出 set_application_form_items: 項目