wrap more strings
This commit is contained in:
parent
5905e339e3
commit
e8e4639dce
15 changed files with 61 additions and 64 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue