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 %> <%= flash_messages %>
<h1 class="h1"><%= t('bulletin.list_announcement') %></h1> <h1 class="h1"><%= t('announcement.list_announcement') %></h1>
<table class="table table-bordered"> <table class="table table-bordered">
<tr> <tr>
<th><%= t('bulletin.category') %></th> <th><%= t('announcement.bulletin.category') %></th>
<th><%= t('bulletin.title') %></th> <th><%= t('announcement.bulletin.title') %></th>
<th><%= t('bulletin.postdate') %></th> <th><%= t('announcement.bulletin.postdate') %></th>
</tr> </tr>
<% @bulletins.each do |post| %> <% @bulletins.each do |post| %>

View File

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

View File

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