locale change
This commit is contained in:
parent
57c9fd5d6c
commit
899676c85c
|
@ -65,7 +65,7 @@ class TechnologyTransfer
|
|||
elsif t == "authors"
|
||||
pd_data << {"data_title" => (p.member_profile.name rescue "")}
|
||||
elsif t == "patent_granted"
|
||||
pd_data << {"data_title" => (p.patent_granted ? t("personal_technology_transfer.y_es") : t("personal_technology_transfer.n_o"))}
|
||||
pd_data << {"data_title" => (p.patent_granted ? I18n.t("personal_technology_transfer.y_es") : I18n.t("personal_technology_transfer.n_o"))}
|
||||
else
|
||||
pd_data << { "data_title" => p.send(t) }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue