localization fixes
This commit is contained in:
parent
19eabd7db1
commit
8424797cc4
2 changed files with 4 additions and 2 deletions
|
@ -127,7 +127,7 @@ pandora.ui.documentsPanel = function(options) {
|
||||||
items: columns.map(function(column) {
|
items: columns.map(function(column) {
|
||||||
return {
|
return {
|
||||||
id: column.id,
|
id: column.id,
|
||||||
title: Ox._('Sort by ' + column.title)
|
title: Ox._('Sort by {0}', [column.title])
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
value: ui.documentsSort[0].key,
|
value: ui.documentsSort[0].key,
|
||||||
|
|
|
@ -102,7 +102,9 @@ pandora.ui.mainMenu = function() {
|
||||||
{ group: 'itemview', min: 1, max: 1, items: pandora.site.itemViews.map(function(view) {
|
{ group: 'itemview', min: 1, max: 1, items: pandora.site.itemViews.map(function(view) {
|
||||||
return Ox.extend({
|
return Ox.extend({
|
||||||
checked: ui.itemView == view.id
|
checked: ui.itemView == view.id
|
||||||
}, view);
|
}, view, {
|
||||||
|
title: Ox._(view.title)
|
||||||
|
});
|
||||||
}) },
|
}) },
|
||||||
] },
|
] },
|
||||||
{ id: 'clips', title: Ox._('Open Clips'), items: [
|
{ id: 'clips', title: Ox._('Open Clips'), items: [
|
||||||
|
|
Loading…
Reference in a new issue