forked from 0x2620/pandora
use itemName
This commit is contained in:
parent
ceab0fba2a
commit
b122e05883
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||||
pandora.ui.status = function(key, data) {
|
pandora.ui.status = function(key, data) {
|
||||||
var that = Ox.toTitleCase(key) + ': ' + [
|
var that = Ox.toTitleCase(key) + ': ' + [
|
||||||
Ox.formatNumber(data.items) + ' movie' + (data.items != 1 ? 's' : ''),
|
Ox.formatNumber(data.items) + ' '+ (data.items != 1 ? pandora.site.itemName.plural : pandora.site.itemName.sinular),
|
||||||
Ox.formatDuration(data.runtime, 'medium'),
|
Ox.formatDuration(data.runtime, 'medium'),
|
||||||
data.files + ' file' + (data.files != 1 ? 's' : ''),
|
data.files + ' file' + (data.files != 1 ? 's' : ''),
|
||||||
Ox.formatDuration(data.duration, 'short'),
|
Ox.formatDuration(data.duration, 'short'),
|
||||||
|
|
Loading…
Reference in a new issue