From 4e48f22717b5118dadf68491b1090afa0ea2ded2 Mon Sep 17 00:00:00 2001 From: manson Date: Fri, 4 Jul 2014 11:55:31 +0800 Subject: [PATCH] Fix translation --- app/controllers/personal_patents_controller.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/personal_patents_controller.rb b/app/controllers/personal_patents_controller.rb index 161a68b..da65294 100644 --- a/app/controllers/personal_patents_controller.rb +++ b/app/controllers/personal_patents_controller.rb @@ -3,7 +3,7 @@ class PersonalPatentsController < ApplicationController patents = Patent.where(:is_hidden=>false).all patent_list = patents.collect do |patent| { - "publication_date" => patent.publication_date, + "publication_date" => patent.publish_date, "patent_title" => patent.patent_title, "patent_no" => patent.patent_no, "patent_country" => patent.patent_country, @@ -14,12 +14,12 @@ class PersonalPatentsController < ApplicationController { "patents" => patent_list, "extras" => { - "widget-title" => t("personal_patent.personal_patent"), + "widget-title" => t("module_name.personal_patent"), "th_publication_date" => t('personal_patent.publication_date'), - "th_patent_title" => t("personal_patent.paper_patent_title"), + "th_patent_title" => t("personal_patent.patent_title"), "th_patent_no" => t('personal_patent.patent_no'), - "th_patent_country" => t("personal_patent.paper_patent_country"), - "th_authors" => t('user.name') + "th_patent_country" => t("personal_patent.patent_country"), + "th_authors" => t('users.name') } } end