in icon dialog, allow for passing an element (not just text), and rename the option to 'content'

This commit is contained in:
rolux 2013-08-08 13:04:51 +00:00
commit 00739a024c
13 changed files with 33 additions and 27 deletions

View file

@ -23,9 +23,9 @@ pandora.ui.makeListPrivateDialog = function(name, subscribers, callback) {
}
})
],
keys: {enter: 'make', escape: 'keep'},
text: Ox._('Are you sure you want to make the list "{0}" private and lose its {1}?',
content: Ox._('Are you sure you want to make the list "{0}" private and lose its {1}?',
[name, subscribers == 1 ? Ox._('subscriber') : Ox._('{0} subscribers', [subscribers])]),
keys: {enter: 'make', escape: 'keep'},
title: Ox._('Make List Private')
});