diff --git a/app/views/admin/sites/search_engine.html.erb b/app/views/admin/sites/search_engine.html.erb index e7e79a95..2c36913e 100644 --- a/app/views/admin/sites/search_engine.html.erb +++ b/app/views/admin/sites/search_engine.html.erb @@ -25,7 +25,7 @@
- +
<%= text_field_tag 'site[search][sitesearch]',(@site.search["sitesearch"] rescue nil),{ :class => "input-block-level" ,:placeholder => t("search.sitesearch") }%>
@@ -33,7 +33,7 @@
- +
<%= f.text_area :google_analytics, :class => "input-block-level"%> @@ -45,7 +45,7 @@
- +
@@ -65,7 +65,7 @@
- +
diff --git a/config/locales/en.yml b/config/locales/en.yml index 57affb49..6f639ff0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -379,6 +379,11 @@ en: sitesearch: Google Site Search too_many: "Search about ' %{search_word} 'resulted more than %{exceed_num} items maybe try to search with more specific terms?" unit_get: "Listed items created by :%{unit_name} Found %{item_num} items" + search_engine: + syntax: Google Search Syntax + anaytics_code: Google Analytics Code + keywords: Keywords + description: search_: Search search_engine: Search Engine search_google: Search Google diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 9b3522d9..21e35fc0 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -380,6 +380,11 @@ zh_tw: sitesearch: 全站搜尋 too_many: "搜尋有關 ' %{search_word} '尋找到超過 %{exceed_num} 筆資料,請嘗試加入更多關鍵字縮小搜尋範圍,以作更精確的搜尋?" unit_get: "列出由 :%{unit_name}發佈的資料,共有%{item_num}筆" + search_engine: + syntax: Google搜尋語法設定 + anaytics_code: Google分析追蹤程式碼 + keywords: 網站關鍵字 + description: 網站描述 search_: 搜尋 search_engine: 搜尋引擎 search_google: 搜尋Google