diff --git a/app/controllers/digital_archives_controller.rb b/app/controllers/digital_archives_controller.rb index 5d540e6..5479986 100644 --- a/app/controllers/digital_archives_controller.rb +++ b/app/controllers/digital_archives_controller.rb @@ -68,14 +68,17 @@ class DigitalArchivesController < ApplicationController "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('detaildes'), + "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_item_date" => t('item_date'), + "th_item_id" => t('item_id'), + "th_item_from" => t('item_from'), + "th_item_status" => t('item_status') } } end diff --git a/config/locales/en.yml b/config/locales/en.yml index c24f76d..c63ce1d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -8,7 +8,6 @@ en: character : "Character" department : "Department" date : "Date" - description : "Description" detail_description : "Detail Description" material : "Material" item_number : "Item Number" @@ -16,13 +15,9 @@ en: item_from : "Item From" item_status : "Item Status" album_content : "Album Content" - show_lang: Language - title: Title - location: Location - description: Description - detaildes: Detail Description - size: Size - item_data: Item Date - item_id: Item ID - item_from: Item From - item_status: Item Status \ No newline at end of file + show_lang: "Language" + title : "Title" + description : "Description" + size : "Size" + item_data : "Item Date" + item_id : "Item ID" \ No newline at end of file diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 51e17db..23adba5 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -8,22 +8,15 @@ zh_tw: character : "角色" department : "單位" date : "日期" - description : "描述" detail_description : "詳細描述" material : "材質" - size : "大小" item_number : "物件編號" item_date : "入藏日期" - item_from : "致贈單位" item_status : "保存情形" album_content : "相片描述" - show_lang: "呈現語系" - title: "標題" - location: "地點" - description: "描述" - detaildes: "詳細描述" - size: "尺寸" - item_data: "物品日期" - item_id: "物品編號" - item_from: "贈與者" - item_status: "保存狀況" \ No newline at end of file + show_lang : "呈現語系" + title : "標題" + description : "描述" + size : "尺寸" + item_id : "物品編號" + item_from : "致贈單位" \ No newline at end of file