Commit 02d6694f69bdbb992139c644169682c04e54565a
Exists in
master
and in
10 other branches
Merge branch 'fix_categories_translation' into 'master'
Fix categories translation Arrumado as traduções dos nomes das categorias See merge request !123
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
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 |