change translations

This commit is contained in:
邱博亞 2022-03-10 12:40:11 +08:00
parent c6bf882171
commit b015f4d3f7
4 changed files with 7 additions and 15 deletions

View File

@ -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'

View File

@ -25,21 +25,13 @@
<% if admin_for_application_form(application_form) %>
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/edit"><%= t(:edit) %></a></li>
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/copy"><%= t("application_form.copy") %></a></li>
<li><a href="<%= admin_application_form_item_contents_path(:application_form_main_id=>application_form.id.to_s) %>"><%= t('application_form.set_application_form_item_content') %></a></li>
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/application_form_signup_field"><%= t('application_form.set_application_form_signup_field') %></a></li>
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/application_form_submission_field"><%= t('application_form.set_application_form_submission_field') %></a></li>
<li><a href="<%=reviewer_setting_admin_application_form_path(application_form.id)%>"><%= t('application_form.reviewer_setting') %></a></li>
<li><a href="<%=template_setting_admin_application_form_path(application_form.id)%>"><%= t('application_form.template_setting') %></a></li>
<li><a href="<%=sub_page_setting_admin_application_form_path(application_form.id)%>"><%= t('application_form.sub_page_setting') %></a></li>
<li><a href="<%=admin_custom_announcements_path + "/application_form-#{application_form.uid}"%>"><%= t('application_form.announcement_manage') %>(<%=application_form.annc_count%>)</a></li>
<li><a href="<%=admin_custom_galleries_path + "/application_form-#{application_form.uid}"%>"><%= t('application_form.album_manage') %>(<%=application_form.album_count%>)</a></li>
<li><a href="#" class="delete text-error" rel="/admin/application_forms/<%=application_form.id.to_s%>"><%= t(:delete_) %></a></li>
<% end %>
</ul>
</div>
</td>
<td><%= ApplicationFormMain.time_range(application_form.application_form_start_date, application_form.application_form_end_date) %></td>
<td><%= ApplicationFormMain.time_range(application_form.signup_start_date, application_form.signup_end_date) %></td>
<td><a href="/admin/application_forms/<%=application_form.id.to_s%>/application_form_signup">
<% @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 %>

View File

@ -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 #項目

View File

@ -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: 項目