Change Chinese text and add new fields, remove prompt text
This commit is contained in:
parent
5abfb2a87a
commit
68dcf25f25
|
|
@ -105,7 +105,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t("event_news.event_end_date") %></label>
|
||||
<label class="control-label muted"><%= EventNewsCustomTitle.get_trans('event_end_date') %></label>
|
||||
<div class="controls">
|
||||
<%= f.datetime_picker :event_end_date, :no_label => true, :new_record => @event_news.new_record?, :data=>{"picker-type" => "range", "range" => "start"} %>
|
||||
</div>
|
||||
|
|
@ -451,7 +451,7 @@
|
|||
<label class="control-label muted"><%= t(:title) %></label>
|
||||
<div class="controls">
|
||||
<%= f.fields_for :title_translations do |f| %>
|
||||
<%= f.text_area locale, class: "ckeditor_reduce input-block-level", placeholder: t(:title), value: (@event_news.title_translations[locale] rescue nil) %>
|
||||
<%= f.text_area locale, class: "ckeditor_reduce input-block-level", value: (@event_news.title_translations[locale] rescue nil) %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -460,7 +460,7 @@
|
|||
<label class="control-label muted"><%= EventNewsCustomTitle.get_trans('speaker') %></label>
|
||||
<div class="controls">
|
||||
<%= f.fields_for :speaker_translations do |f| %>
|
||||
<%= f.text_field locale, class: "input-block-level", placeholder: t("event_news.speaker"), value: (@event_news.speaker_translations[locale] rescue nil) %>
|
||||
<%= f.text_field locale, class: "input-block-level", value: (@event_news.speaker_translations[locale] rescue nil) %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -469,7 +469,7 @@
|
|||
<label class="control-label muted"><%= EventNewsCustomTitle.get_trans('place') %></label>
|
||||
<div class="controls">
|
||||
<%= f.fields_for :place_translations do |f| %>
|
||||
<%= f.text_field locale, class: "input-block-level", placeholder: t("event_news.place"), value: (@event_news.place_translations[locale] rescue nil) %>
|
||||
<%= f.text_field locale, class: "input-block-level", value: (@event_news.place_translations[locale] rescue nil) %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -478,7 +478,7 @@
|
|||
<label class="control-label muted"><%= EventNewsCustomTitle.get_trans('host') %></label>
|
||||
<div class="controls">
|
||||
<%= f.fields_for :host_translations do |f| %>
|
||||
<%= f.text_field locale, class: "input-block-level", placeholder: t("event_news.host"), value: (@event_news.host_translations[locale] rescue nil) %>
|
||||
<%= f.text_field locale, class: "input-block-level", value: (@event_news.host_translations[locale] rescue nil) %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ zh_tw:
|
|||
employer: 徵求單位
|
||||
event_date: 事件日期
|
||||
event_end_date: 事件結束日期
|
||||
start_date: 公告日期
|
||||
end_date: 截止日期
|
||||
start_date: 上架日期
|
||||
end_date: 下架日期
|
||||
add_to_calendar: 加入行事曆
|
||||
blank_to_set: (留白則使用公告設定)
|
||||
stime: 開始時間
|
||||
|
|
|
|||
Loading…
Reference in New Issue