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: 文章列表