translate site sections
This commit is contained in:
parent
f9edbbe1c6
commit
5fa3b66a43
3 changed files with 10 additions and 4 deletions
|
|
@ -4,7 +4,10 @@ pandora.ui.sectionSelect = function(section) {
|
|||
// fixme: duplicated
|
||||
var that = Ox.Select({
|
||||
id: 'sectionSelect',
|
||||
items: pandora.site.sections,
|
||||
items: Ox.clone(pandora.site.sections, true).map(function(section) {
|
||||
section.title = Ox._(section.title);
|
||||
return section;
|
||||
}),
|
||||
value: section || pandora.user.ui.section
|
||||
}).css({
|
||||
float: 'left',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue