Commit 57a581c37c285f34c0885ab4d2987767ff2c40c8
Committed by
David Silva
1 parent
886a0f48
Exists in
master
and in
5 other branches
Remove hard tabs on Category
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Showing
1 changed file
with
20 additions
and
22 deletions
Show diff stats
lib/ext/category.rb
1 | 1 | require_dependency 'category' |
2 | 2 | |
3 | 3 | class Category |
4 | + SOFTWARE_CATEGORIES = [ | |
5 | + _('Agriculture, Fisheries and Extraction'), | |
6 | + _('Science, Information and Communication'), | |
7 | + _('Economy and Finances'), | |
8 | + _('Public Administration'), | |
9 | + _('Habitation, Sanitation and Urbanism'), | |
10 | + _('Individual, Family and Society'), | |
11 | + _('Health'), | |
12 | + _('Social Welfare and Development'), | |
13 | + _('Defense and Security'), | |
14 | + _('Education'), | |
15 | + _('Government and Politics'), | |
16 | + _('Justice and Legislation'), | |
17 | + _('International Relationships') | |
18 | + ] | |
4 | 19 | |
5 | - SOFTWARE_CATEGORIES = [ | |
6 | - _("Agriculture, Fisheries and Extraction"), | |
7 | - _("Science, Information and Communication"), | |
8 | - _("Economy and Finances"), | |
9 | - _("Public Administration"), | |
10 | - _("Habitation, Sanitation and Urbanism"), | |
11 | - _("Individual, Family and Society"), | |
12 | - _("Health"), | |
13 | - _("Social Welfare and Development"), | |
14 | - _("Defense and Security"), | |
15 | - _("Education"), | |
16 | - _("Government and Politics"), | |
17 | - _("Justice and Legislation"), | |
18 | - _("International Relationships") | |
19 | - ] | |
20 | - | |
21 | - def software_infos | |
22 | - software_list = self.communities | |
23 | - software_list.collect{|x| software_list.delete(x) unless x.software? } | |
24 | - software_list | |
25 | - end | |
26 | - | |
20 | + def software_infos | |
21 | + software_list = self.communities | |
22 | + software_list.collect { |x| software_list.delete(x) unless x.software? } | |
23 | + software_list | |
24 | + end | |
27 | 25 | end | ... | ... |