Translations for search engine

This commit is contained in:
Bernie Chiu 2013-12-24 12:01:40 +08:00 committed by saurabhbhatia
parent c54c12c1ff
commit 225d0174d7
3 changed files with 14 additions and 4 deletions

View File

@ -25,7 +25,7 @@
<!-- Title-->
<div class="control-group input-title">
<label class="control-label muted">Google Search Syntax</label>
<label class="control-label muted"><%= t("search_engine.syntax") %></label>
<div class="controls">
<%= text_field_tag 'site[search][sitesearch]',(@site.search["sitesearch"] rescue nil),{ :class => "input-block-level" ,:placeholder => t("search.sitesearch") }%>
</div>
@ -33,7 +33,7 @@
<!-- CKeditor Site Header -->
<div class="control-group input-content">
<label class="control-label muted">Google Analytics Code</label>
<label class="control-label muted"><%= t("search_engine.anaytics_code") %></label>
<div class="controls">
<div class="textarea">
<%= f.text_area :google_analytics, :class => "input-block-level"%>
@ -45,7 +45,7 @@
<!-- Description -->
<div class="control-group">
<label class="control-label muted">Keywords</label>
<label class="control-label muted"><%= t("search_engine.keywords") %></label>
<div class="controls">
<div class="tab-content textarea-lang">
<div class="btn-group" data-toggle="buttons-radio">
@ -65,7 +65,7 @@
</div>
<div class="control-group">
<label class="control-label muted">Description</label>
<label class="control-label muted"><%= t("search_engine.description") %></label>
<div class="controls">
<div class="tab-content textarea-lang">
<div class="btn-group" data-toggle="buttons-radio">

View File

@ -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

View File

@ -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