diff --git a/app/views/admin/pages/_form.html.erb b/app/views/admin/pages/_form.html.erb index 460bbce3..e06afbc9 100644 --- a/app/views/admin/pages/_form.html.erb +++ b/app/views/admin/pages/_form.html.erb @@ -34,7 +34,7 @@ <%= f.radio_button :is_published, true %>Yes <%= f.radio_button :is_published, false %> No
- <%= 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) %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 4427e890..eeb5e63a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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 diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index dfbcdf95..661253c4 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -133,6 +133,7 @@ zh_tw: editing_role: 編輯用戶身份 email: Email enable_language: 啟用語言 + enabled_for: 啟用 file_name: 檔名 file_size: 檔案大小 format: 格式