wrap more strings

This commit is contained in:
j 2014-02-14 15:23:59 +00:00
commit e8e4639dce
15 changed files with 61 additions and 64 deletions

View file

@ -9,13 +9,10 @@ pandora.ui.folderPlaceholder = function(id, section) {
});
that.updateText = function(string, isFind) {
return that.html(
Ox._(
string != 'volumes'
? 'No ' + string + ' '
+ (section == 'items' ? 'lists' : section)
+ (isFind ? ' found' : '')
: 'No local volumes'
)
string != 'volumes'
? Ox._('No {0} {1}' + (isFind ? ' found' : ''),
[Ox._(string), Ox._(section == 'items' ? 'lists' : section)])
: Ox._('No local volumes')
);
};
return that.updateText(id);