Modify init.rb for widget
This commit is contained in:
parent
31ee2d2be2
commit
ca6b70660d
|
@ -21,4 +21,5 @@ en:
|
||||||
definition: Definition
|
definition: Definition
|
||||||
time: Created time
|
time: Created time
|
||||||
ago: ago
|
ago: ago
|
||||||
|
widget:
|
||||||
|
search: Search
|
||||||
|
|
|
@ -28,3 +28,5 @@ zh_tw:
|
||||||
new: 新增
|
new: 新增
|
||||||
edit: 修改
|
edit: 修改
|
||||||
key: 索引值
|
key: 索引值
|
||||||
|
widget:
|
||||||
|
search: 搜尋
|
||||||
|
|
|
@ -37,9 +37,9 @@ module Dictionary
|
||||||
# style ["1"]
|
# style ["1"]
|
||||||
# end
|
# end
|
||||||
|
|
||||||
# customize_widget "archive_search_block" do
|
customize_widget "dictionary_search_block" do
|
||||||
# widget_i18n "announcement.widget.search"
|
widget_i18n "dictionary.widget.search"
|
||||||
# end
|
end
|
||||||
|
|
||||||
# item "index","announcement.widget.index",:default_template=>true,:fields=>["title","category","postdate"]
|
# item "index","announcement.widget.index",:default_template=>true,:fields=>["title","category","postdate"]
|
||||||
# item "bulletins_and_web_links","announcement.widget.bulletins_and_web_links"
|
# item "bulletins_and_web_links","announcement.widget.bulletins_and_web_links"
|
||||||
|
|
Loading…
Reference in New Issue