Change 熱門 to 頭版 for news

This commit is contained in:
Christophe Vilayphiou 2012-09-10 15:19:29 +08:00
parent 3db2664c14
commit 4dfe3e7b3b
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<div class="accordion-inner" data-toggle="buttons-checkbox">
<%= link_to t(:top), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_top'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_top')}" %>
<%= link_to t(:hot), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_hot'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_hot')}" %>
<%= link_to t('news.hot'), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_hot'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_hot')}" %>
<%= link_to t(:hidden), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_hidden'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_hidden')}" %>
<%= link_to t(:pending), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_pending'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_pending')}" %>
<%= link_to t(:passed), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_checked'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_checked')}" %>

View File

@ -11,7 +11,7 @@
<span class="label label-success"><%= t(:top) %></span>
<% end %>
<% if news_bulletin.is_hot? %>
<span class="label label-important"><%= t(:hot) %></span>
<span class="label label-important"><%= t('news.hot') %></span>
<% end %>
<% if news_bulletin.is_hidden? %>
<span class="label"><%= t(:hidden) %></span>

View File

@ -40,7 +40,7 @@
<div class="control-group">
<label class="control-label"><%= t(:status) %></label>
<div class="controls">
<label class="checkbox inline"><%= f.check_box :is_hot %><%= t(:hot) %></label>
<label class="checkbox inline"><%= f.check_box :is_hot %><%= t('news.hot') %></label>
<label class="checkbox inline"><%= f.check_box :is_top %><%= t(:top) %></label>
<label class="checkbox inline"><%= f.check_box :is_hidden %><%= t(:hidden) %></label>
</div>

View File

@ -24,7 +24,6 @@ zh_tw:
update: 更新
yes_: "Yes"
hot: 熱門
top: 置頂
hidden: 隱藏
passed: 審核通過
@ -37,6 +36,7 @@ zh_tw:
quick_edit: 快速編輯
news:
hot: 頭版
add_new: 新增
all_articles: 列表
tags: 標籤