Added Locales and Engine

This commit is contained in:
Saurabh Bhatia 2014-04-15 18:33:28 +08:00
parent dd3d366ec7
commit f1d6975e52
3 changed files with 10 additions and 1 deletions

3
config/locales/en.yml Normal file
View File

@ -0,0 +1,3 @@
en:
announcement:
announcement: Announcement

6
config/locales/zh_tw.yml Normal file
View File

@ -0,0 +1,6 @@
zh_tw:
announcement:
add_new: 新建
all_articles: 文章列表
announcement: 公告

View File

@ -7,7 +7,7 @@ module Announcement
widget_methods ["widget"]
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']})
head_link_path "admin_announcements_path"
end