From 899676c85c8d127639c0ba1bc4d1f546d2bb3395 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 6 Apr 2016 15:29:25 +0800 Subject: [PATCH] locale change --- app/models/technology_transfer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/technology_transfer.rb b/app/models/technology_transfer.rb index 5cbcb14..304c94d 100644 --- a/app/models/technology_transfer.rb +++ b/app/models/technology_transfer.rb @@ -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