Merge pull request #405 from zuzak/translation

use true translation metrics
This commit is contained in:
reality 2013-04-21 09:23:38 -07:00
commit f20f7918a1

View File

@ -52,7 +52,7 @@ var project = function(dbot) {
}
}
var t = {};
for (var k = 0; k < str.length; k++) {
for (var k = 0; k < translation.length; k++) {
var curr = translation[k];
if (t[curr]) {
t[curr]["count"] += 1;