Commit a04a6d700780eb44b38d08cdedbfc34ff12c9628

Authored by Luciano Prestes
Committed by Daniela Feitosa
1 parent fd7d75c5
Exists in stable-4.x

Fix translation of categories name

Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
(cherry picked from commit f208912417ef6ee69d373c396aa8bfce78c2c5cd)
src/noosfero-spb/software_communities/lib/ext/category.rb
@@ -31,4 +31,8 @@ class Category @@ -31,4 +31,8 @@ class Category
31 software_list = self.communities.collect{|community| community.software_info if community.software?} 31 software_list = self.communities.collect{|community| community.software_info if community.software?}
32 software_list 32 software_list
33 end 33 end
  34 +
  35 + def name
  36 + _(self[:name].to_s)
  37 + end
34 end 38 end