diff --git a/src/noosfero-spb/software_communities/lib/ext/category.rb b/src/noosfero-spb/software_communities/lib/ext/category.rb index 0c3008c..f450df7 100644 --- a/src/noosfero-spb/software_communities/lib/ext/category.rb +++ b/src/noosfero-spb/software_communities/lib/ext/category.rb @@ -32,4 +32,8 @@ class Category software_list.collect { |x| software_list.delete(x) unless x.software? } software_list end + + def name + _(self[:name].to_s) + end end -- libgit2 0.21.2