Localize the semantic search index counts

This commit is contained in:
Dan Stillman 2026-07-20 23:08:11 -04:00
parent 4fe312bc65
commit 5d639d2242

View file

@ -140,8 +140,14 @@ Zotero_Preferences.Advanced = {
}
}
status.libraries.forEach((lib, i) => {
grid.children[i * 2].setAttribute('value', lib.name);
grid.children[i * 2 + 1].setAttribute('value', `${lib.indexed} / ${lib.eligible}`);
grid.children[i * 2].setAttribute(
'value',
Zotero.Utilities.Internal.stringWithColon(lib.name)
);
grid.children[i * 2 + 1].setAttribute(
'value',
`${lib.indexed.toLocaleString()} / ${lib.eligible.toLocaleString()}`
);
});
},