diff --git a/app/controllers/digital_archives_controller.rb b/app/controllers/digital_archives_controller.rb index fc36a05..49ce986 100644 --- a/app/controllers/digital_archives_controller.rb +++ b/app/controllers/digital_archives_controller.rb @@ -67,18 +67,17 @@ class DigitalArchivesController < ApplicationController "extras" => { "page_url" => url, "th_title" => t('title'), - "th_location" => t('location'), - "th_department" => t('department'), - "th_character" => t('character'), - "th_location" => t('location'), - "th_description" => t('description'), - "th_detaildes" => t('detail_description'), - "th_material" => t('material'), - "th_size" => t('size'), - "th_item_date" => t('item_date'), - "th_item_id" => t('item_id'), - "th_item_from" => t('item_from'), - "th_item_status" => t('item_status') + "th_location" => t("digital_archive.location"), + "th_department" => t('digital_archive.department'), + "th_character" => t('digital_archive.character'), + "th_description" => t('digital_archive.description'), + "th_detaildes" => t('digital_archive.detail_description'), + "th_material" => t('digital_archive.material'), + "th_size" => t('digital_archive.size'), + "th_item_date" => t('digital_archive.item_date'), + "th_item_id" => t('digital_archive.item_id'), + "th_item_from" => t('digital_archive.item_from'), + "th_item_status" => t('digital_archive.item_status') } } end diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 23adba5..0cf3593 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -2,12 +2,12 @@ zh_tw: module_name: digital_archive: 數位典藏資料庫 digital_archive: - digital_archive : "數位典藏資料庫" - digital_archive_title : "名稱" - location : "地點" - character : "角色" - department : "單位" - date : "日期" + digital_archive: "數位典藏資料庫" + digital_archive_title: "名稱" + location: 地點 + character: 角色 + department: 單位 + date: 日期 detail_description : "詳細描述" material : "材質" item_number : "物件編號" @@ -19,4 +19,4 @@ zh_tw: description : "描述" size : "尺寸" item_id : "物品編號" - item_from : "致贈單位" \ No newline at end of file + item_from : "致贈單位" \ No newline at end of file