(trunk, web) replace Transmission.formatter.plural() with a slightly less brittle pluralization tool

This commit is contained in:
Jordan Lee
2012-10-07 18:10:26 +00:00
parent 7219f26dae
commit 4dd6e35bd7
4 changed files with 15 additions and 9 deletions

View File

@@ -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)