]> granicus.if.org Git - transmission/commitdiff
#5086 Fix web interface ngettext
authorMitchell Livingston <livings124@transmissionbt.com>
Wed, 10 Oct 2012 03:03:32 +0000 (03:03 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Wed, 10 Oct 2012 03:03:32 +0000 (03:03 +0000)
web/javascript/formatter.js

index 3faaeae84c7941d75a4f7feaec451a8bcabba92e..e89f2c3bdf56b01ddf36a6fa9efe2036acc07765 100644 (file)
@@ -276,7 +276,7 @@ Transmission.fmt = (function()
 
                countString: function(msgid, msgid_plural, n)
                {
-                       return [ n.toStringWithCommas(), ngettext(msgid,msgid_plural,n) ].join(' ');
+                       return [ n.toStringWithCommas(), this.ngettext(msgid,msgid_plural,n) ].join(' ');
                },
 
                peerStatus: function( flagStr )