add i18n vars

This commit is contained in:
Matthew K. Fu JuYuan 2012-04-18 15:33:11 +08:00
parent 8d776fd30d
commit 0ddb66a3c9
3 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<li class="span3"> <li class="span3">
<%= image_tag ad_image.file rescue nil%> <%= image_tag ad_image.file rescue nil%>
<p> <p>
<%= ad_image.display? ? '[Showing]' : '[NotShawing]' %> <%= ad_image.display? ? "[#{t('admin.ad.showing')}]" : "[#{t('admin.ad.not_showing')}]" %>
<%= "#{ad_image.post_date ||'NeedReset' }~#{ad_image.unpost_date || 'NeedReset'}" %> <%= "#{ad_image.post_date ||'NeedReset' }~#{ad_image.unpost_date || 'NeedReset'}" %>
</p> </p>
<p> <p>

View File

@ -48,6 +48,8 @@ en:
banner_best_size: Banner Best Size banner_best_size: Banner Best Size
new_banner: New banner new_banner: New banner
new_image: New image new_image: New image
showing: Showing
not_showing: NotShowing
title: Title title: Title
transition_sec: Transition time transition_sec: Transition time
trans_unit_sec: sec trans_unit_sec: sec

View File

@ -45,6 +45,8 @@ zh_tw:
banner_best_size: Banner 尺寸 banner_best_size: Banner 尺寸
new_banner: 新增輪播 new_banner: 新增輪播
new_image: 新增橫幅 new_image: 新增橫幅
showing: 顯示中
not_showing: 沒有顯示
title: 標題 title: 標題
transition_sec: 轉場單位時間 transition_sec: 轉場單位時間
trans_unit_sec: trans_unit_sec: