Skip to content

Commit

Permalink
Merge branch 'ogdch-refer-to-licenses-in-facets-2'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jan 22, 2014
2 parents 3f0d11b + 412fba4 commit cc2d354
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 @@ -604,7 +604,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 cc2d354

Please sign in to comment.