localization fixes

This commit is contained in:
j 2014-02-13 15:32:14 +00:00
parent 19eabd7db1
commit 8424797cc4
2 changed files with 4 additions and 2 deletions

View file

@ -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,

View file

@ -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: [