Added Locales and Engine
This commit is contained in:
parent
dd3d366ec7
commit
f1d6975e52
|
@ -0,0 +1,3 @@
|
||||||
|
en:
|
||||||
|
announcement:
|
||||||
|
announcement: Announcement
|
|
@ -0,0 +1,6 @@
|
||||||
|
zh_tw:
|
||||||
|
|
||||||
|
announcement:
|
||||||
|
add_new: 新建
|
||||||
|
all_articles: 文章列表
|
||||||
|
announcement: 公告
|
|
@ -7,7 +7,7 @@ module Announcement
|
||||||
widget_methods ["widget"]
|
widget_methods ["widget"]
|
||||||
|
|
||||||
side_bar do
|
side_bar do
|
||||||
head_label_i18n 'announcement.announcement', icon_class: "icons-megaphone"
|
head_label_i18n "announcement.announcement", icon_class: "icons-megaphone"
|
||||||
active_for_controllers ({:private=>['announcements']})
|
active_for_controllers ({:private=>['announcements']})
|
||||||
head_link_path "admin_announcements_path"
|
head_link_path "admin_announcements_path"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue