Skip to content

Commit

Permalink
Changed license to licenses in facet titles where this makes more se…
Browse files Browse the repository at this point in the history
…nse.
  • Loading branch information
bellisk authored and amercader committed Jan 22, 2014
1 parent 45281fc commit 515345f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckan/controllers/group.py
Expand Up @@ -290,7 +290,7 @@ def pager_url(q=None, page=None):
'groups': _('Groups'),
'tags': _('Tags'),
'res_format': _('Formats'),
'license_id': _('License')}
'license_id': _('Licenses')}

for facet in g.facets:
if facet in default_facet_titles:
Expand Down
2 changes: 1 addition & 1 deletion ckan/controllers/home.py
Expand Up @@ -71,7 +71,7 @@ def index(self):
'groups': _('Groups'),
'tags': _('Tags'),
'res_format': _('Formats'),
'license': _('License'),
'license': _('Licenses'),
}

data_dict = {'sort': 'packages', 'all_fields': 1}
Expand Down
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -602,7 +602,7 @@ def get_facet_title(name):
'groups': _('Groups'),
'tags': _('Tags'),
'res_format': _('Formats'),
'license': _('License'), }
'license': _('Licenses'), }
return facet_titles.get(name, name.capitalize())


Expand Down

0 comments on commit 515345f

Please sign in to comment.