locale change

This commit is contained in:
Harry Bomrah 2016-04-06 15:29:25 +08:00
parent 57c9fd5d6c
commit 899676c85c
1 changed files with 1 additions and 1 deletions

View File

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