i18n vars for announcement

This commit is contained in:
Matt Fu 2012-02-29 11:54:48 +08:00
parent ccb61fc2dd
commit 438dc0ad3d
3 changed files with 14 additions and 4 deletions

View File

@ -2,14 +2,14 @@
<%= flash_messages %>
<h1 class="h1"><%= t('bulletin.list_announcement') %></h1>
<h1 class="h1"><%= t('announcement.list_announcement') %></h1>
<table class="table table-bordered">
<tr>
<th><%= t('bulletin.category') %></th>
<th><%= t('bulletin.title') %></th>
<th><%= t('bulletin.postdate') %></th>
<th><%= t('announcement.bulletin.category') %></th>
<th><%= t('announcement.bulletin.title') %></th>
<th><%= t('announcement.bulletin.postdate') %></th>
</tr>
<% @bulletins.each do |post| %>

View File

@ -29,6 +29,11 @@ en:
more: more+
bulletins: Bulletins
related_links: Related Links
list_announcement: List Announcement
bulletin:
category: Category
title: Title
postdate: Postdate
# admin:
# action: Action
# add_language: Add language

View File

@ -24,6 +24,11 @@ zh_tw:
more: 更多+
bulletins: 公告訊息
related_links: 相關連結
list_announcement: 公告列表
bulletin:
category: 分類
title: 標題
postdate: 張貼日期
# admin:
# action: 行動
# add_language: 新增語言