From 51f87e72120d0d1eaa09ddf5eb607a39c7dfa160 Mon Sep 17 00:00:00 2001
From: Christophe Vilayphiou
- <%= 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: 格式