diff --git a/vendor/built_in_modules/dictionary/config/locales/en.yml b/vendor/built_in_modules/dictionary/config/locales/en.yml index d1d04d002..dcc2f783c 100644 --- a/vendor/built_in_modules/dictionary/config/locales/en.yml +++ b/vendor/built_in_modules/dictionary/config/locales/en.yml @@ -21,4 +21,5 @@ en: definition: Definition time: Created time ago: ago - + widget: + search: Search diff --git a/vendor/built_in_modules/dictionary/config/locales/zh_tw.yml b/vendor/built_in_modules/dictionary/config/locales/zh_tw.yml index dabfdcf03..b2eec8a6e 100644 --- a/vendor/built_in_modules/dictionary/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/dictionary/config/locales/zh_tw.yml @@ -28,3 +28,5 @@ zh_tw: new: 新增 edit: 修改 key: 索引值 + widget: + search: 搜尋 diff --git a/vendor/built_in_modules/dictionary/init.rb b/vendor/built_in_modules/dictionary/init.rb index 376aa459f..2ddcf1467 100644 --- a/vendor/built_in_modules/dictionary/init.rb +++ b/vendor/built_in_modules/dictionary/init.rb @@ -37,9 +37,9 @@ module Dictionary # style ["1"] # end - # customize_widget "archive_search_block" do - # widget_i18n "announcement.widget.search" - # end + customize_widget "dictionary_search_block" do + widget_i18n "dictionary.widget.search" + end # item "index","announcement.widget.index",:default_template=>true,:fields=>["title","category","postdate"] # item "bulletins_and_web_links","announcement.widget.bulletins_and_web_links"