From 188050c6ab91386aa4eddd9338975a560acd32b6 Mon Sep 17 00:00:00 2001 From: JiangRu Date: Fri, 16 Jan 2015 17:01:33 +0800 Subject: [PATCH] fix table table --- app/controllers/announcements_controller.rb | 4 +++- config/locales/en.yml | 2 ++ config/locales/zh_tw.yml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 3132cfb..90919bc 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -42,7 +42,9 @@ class AnnouncementsController < ApplicationController "status-head" => t('announcement.table.status'), "author-head" => t('announcement.table.author'), "subtitle-head" => t('announcement.table.sub_title'), - "category-head" => t('announcement.table.category') + "category-head" => t('announcement.table.category'), + "link-head" => t('announcement.table.link'), + "file-head" => t('announcement.table.file') }, "total_pages" => announcements.total_pages } diff --git a/config/locales/en.yml b/config/locales/en.yml index 94e889f..43b5268 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -8,6 +8,8 @@ en: sub_title: Sub Title category: Category author: Author + link: Link + File: File add_new: Add New approve: Approve all_articles: All Articles diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 7616fc4..450a257 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -8,6 +8,8 @@ zh_tw: sub_title: 副標題 category: 類別 author: 張貼人 + link: 超連結 + file: 檔案下載 add_new: 新建 approve: 通過 all_articles: 文章列表