mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 19:52:36 +01:00
use true translation metrics
We were on magnetic translation befoe
This commit is contained in:
parent
0376926dfc
commit
17e9e73617
@ -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