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