forked from GitHub/dbot
Merge pull request #405 from zuzak/translation
use true translation metrics
This commit is contained in:
commit
f20f7918a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user