Fix translation
This commit is contained in:
parent
f45435ceeb
commit
4e48f22717
|
@ -3,7 +3,7 @@ class PersonalPatentsController < ApplicationController
|
||||||
patents = Patent.where(:is_hidden=>false).all
|
patents = Patent.where(:is_hidden=>false).all
|
||||||
patent_list = patents.collect do |patent|
|
patent_list = patents.collect do |patent|
|
||||||
{
|
{
|
||||||
"publication_date" => patent.publication_date,
|
"publication_date" => patent.publish_date,
|
||||||
"patent_title" => patent.patent_title,
|
"patent_title" => patent.patent_title,
|
||||||
"patent_no" => patent.patent_no,
|
"patent_no" => patent.patent_no,
|
||||||
"patent_country" => patent.patent_country,
|
"patent_country" => patent.patent_country,
|
||||||
|
@ -14,12 +14,12 @@ class PersonalPatentsController < ApplicationController
|
||||||
{
|
{
|
||||||
"patents" => patent_list,
|
"patents" => patent_list,
|
||||||
"extras" => {
|
"extras" => {
|
||||||
"widget-title" => t("personal_patent.personal_patent"),
|
"widget-title" => t("module_name.personal_patent"),
|
||||||
"th_publication_date" => t('personal_patent.publication_date'),
|
"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_no" => t('personal_patent.patent_no'),
|
||||||
"th_patent_country" => t("personal_patent.paper_patent_country"),
|
"th_patent_country" => t("personal_patent.patent_country"),
|
||||||
"th_authors" => t('user.name')
|
"th_authors" => t('users.name')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue