Commit f208912417ef6ee69d373c396aa8bfce78c2c5cd
1 parent
eb4ff668
Exists in
master
and in
12 other branches
Fix translation of categories name
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com> Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
src/noosfero-spb/software_communities/lib/ext/category.rb
@@ -32,4 +32,8 @@ class Category | @@ -32,4 +32,8 @@ class Category | ||
32 | software_list.collect { |x| software_list.delete(x) unless x.software? } | 32 | software_list.collect { |x| software_list.delete(x) unless x.software? } |
33 | software_list | 33 | software_list |
34 | end | 34 | end |
35 | + | ||
36 | + def name | ||
37 | + _(self[:name].to_s) | ||
38 | + end | ||
35 | end | 39 | end |