Merge Request #123

Merged
softwarepublico/softwarepublico!123
Created by Luciano Prestes

Fix categories translation

Arrumado as traduções dos nomes das categorias

Assignee: Daniela Feitosa
Milestone: None

Merged by Daniela Feitosa

Source branch has been removed
Commits (1)
2 participants
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