Fix translation

This commit is contained in:
manson 2014-07-04 11:55:31 +08:00
parent f45435ceeb
commit 4e48f22717
1 changed files with 5 additions and 5 deletions

View File

@ -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