[ru][nouns] fix cyrylic sorting
This commit is contained in:
parent
ec2e95a344
commit
7b28beabcc
|
@ -245,7 +245,7 @@
|
||||||
if (!a.approved && b.approved) {
|
if (!a.approved && b.approved) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return a.masc.toLowerCase().localeCompare(b.masc.toLowerCase());
|
return a.masc.toLowerCase().localeCompare(b.masc.toLowerCase(), this.config.locale);
|
||||||
});
|
});
|
||||||
for (let w of sorted) {
|
for (let w of sorted) {
|
||||||
yield [w.id, new Noun(w)];
|
yield [w.id, new Noun(w)];
|
||||||
|
|
Reference in New Issue