diff --git a/static/js/documentFilter.js b/static/js/documentFilter.js index ab7f39fe..c98ea3a0 100644 --- a/static/js/documentFilter.js +++ b/static/js/documentFilter.js @@ -189,7 +189,9 @@ pandora.ui.documentFilter = function(id) { {id: 'clearFilters', title: Ox._('Clear All Filters'), keyboard: 'shift alt control a'}, {}, {group: 'filter', max: 1, min: 1, items: pandora.site.documentFilters.map(function(filter) { - return Ox.extend({checked: filter.id == id}, filter); + return Ox.extend({checked: filter.id == id}, filter, { + title: Ox._(filter.title) + }); })} ], type: 'image', diff --git a/static/js/filter.js b/static/js/filter.js index c52fdcda..c65733ed 100644 --- a/static/js/filter.js +++ b/static/js/filter.js @@ -187,7 +187,9 @@ pandora.ui.filter = function(id) { {id: 'clearFilters', title: Ox._('Clear All Filters'), keyboard: 'shift alt control a'}, {}, {group: 'filter', max: 1, min: 1, items: pandora.site.filters.map(function(filter) { - return Ox.extend({checked: filter.id == id}, filter); + return Ox.extend({checked: filter.id == id}, filter, { + title: Ox._(filter.title) + }); })} ], type: 'image',