<%= f.check_box :sitemap_menu_in_header, :class => "toggle-check" %>
@@ -96,17 +96,16 @@
-
+
- <%= f.check_box :enable_terms_of_use, :class => "toggle-check" %>
+ <%= f.check_box :enable_terms_of_use, :class => "toggle-check", :data => { :title => t('site.terms_display_in_footer') } %>
<% @site_in_use_locales.each do |locale|%>
<%= content_tag :div, :class => "tab-pane fade #{active_when_current_locale_eq locale} #{locale}" do %>
-
+
<%= f.fields_for :terms_of_use_translations do |f| %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 694f35d0..5c647a5d 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -420,12 +420,17 @@ en:
no_data: No Data
version: Version
weekness_report: Weekness Report
+ terms_of_use: Terms of Use
+ terms_of_use_content: Terms of Use Content
+ terms_display_in_footer: Display in footer
title: Site Title
title_help: Site Title Guide
site_: Site
site_info: Site Info
sitemap: Sitemap
site_name: Site Name
+ site_title_always_display: "Site title will be always displayed in the title bar of the browser, page tile will be after site title."
+ sitemap_menu_in_header: Sitemap menu in header
size: Size
start: Start
start_date: Start date
diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml
index bbf1e915..c5d9390c 100644
--- a/config/locales/zh_tw.yml
+++ b/config/locales/zh_tw.yml
@@ -421,12 +421,17 @@ zh_tw:
no_data: 沒有資訊
version: 版本
weekness_report: 弱點掃瞄資訊
+ terms_of_use: 使用規則
+ terms_of_use_content: 使用規則內容
+ terms_display_in_footer: 是否顯示於頁尾
title: 網站標題
title_help: 網站標題說明
site_: 網站
site_info: 網站資訊
sitemap: 網站地圖
site_name: 網站名稱
+ site_title_always_display: 網站標題將永遠顯示於瀏覽器頁籤、頁面標題將列於網站標題後方
+ sitemap_menu_in_header: 網站導覽顯示於頁首
size: 大小
start: 開始
start_date: 開始日期