Merge Request #123
← To merge requests
From
fix_categories_translation
into
master
Fix categories translation
Arrumado as traduções dos nomes das categorias
Commits (1)
-
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com> Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
Showing
1 changed file
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 |
-
mentioned in commit 02d6694f69bdbb992139c644169682c04e54565a
-
mentioned in commit a04a6d700780eb44b38d08cdedbfc34ff12c9628
started a discussion on commit
f2089124