forked from 0x2620/pandora
translate filters
This commit is contained in:
parent
1c8ea51d9b
commit
35852c36cf
2 changed files with 6 additions and 2 deletions
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue