From 17e9e7361767f02117c4cb436925e4660324cc86 Mon Sep 17 00:00:00 2001 From: Douglas Gardner Date: Sun, 21 Apr 2013 16:12:14 +0000 Subject: [PATCH] use true translation metrics We were on magnetic translation befoe --- modules/project/project.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/project/project.js b/modules/project/project.js index 5d6c3a7..59a2fbe 100644 --- a/modules/project/project.js +++ b/modules/project/project.js @@ -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;