Add missing translation for enabled_for

This commit is contained in:
Christophe Vilayphiou 2012-05-06 03:36:01 +08:00
parent ce1fecaf93
commit 51f87e7212
3 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,7 @@
<%= f.radio_button :is_published, true %>Yes <%= f.radio_button :is_published, false %> No
</p>
<p>
<%= f.label :enabled_for, "#{t('admin.enabled_for')} ?" %>
<%= f.label :enabled_for, "#{t('admin.enabled_for')}:" %>
<% @site_valid_locales.each do |valid_locale| %>
<%= check_box_tag 'page[enabled_for][]', valid_locale, (@item.enabled_for.nil? ? true : @item.enabled_for.include?(valid_locale)) %>
<%= I18nVariable.from_locale(valid_locale) %>

View File

@ -136,6 +136,7 @@ en:
editing_role: Editing user role
email: Email
enable_language: Enable language
enabled_for: Enabled for
file_name: Filename
file_size: File size
format: Format

View File

@ -133,6 +133,7 @@ zh_tw:
editing_role: 編輯用戶身份
email: Email
enable_language: 啟用語言
enabled_for: 啟用
file_name: 檔名
file_size: 檔案大小
format: 格式