Commit a04a6d700780eb44b38d08cdedbfc34ff12c9628
Committed by
Daniela Feitosa
1 parent
fd7d75c5
Exists in
stable-4.x
and in
1 other branch
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)
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 |