mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk, web) replace Transmission.formatter.plural() with a slightly less brittle pluralization tool
This commit is contained in:
@@ -1146,7 +1146,7 @@ Transmission.prototype =
|
||||
$('#speed-dn-label').text( fmt.speedBps( d ) );
|
||||
|
||||
// visible torrents
|
||||
$('#filter-count').text( fmt.plural(this._rows.length, 'Transfer') );
|
||||
$('#filter-count').text( fmt.countString('Transfer','Transfers',this._rows.length ) );
|
||||
},
|
||||
|
||||
setEnabled: function(key, flag)
|
||||
|
||||
Reference in New Issue
Block a user