diff --git a/chrome/content/zotero/itemTree.jsx b/chrome/content/zotero/itemTree.jsx index 99a012c0ea..2bfeaf6ad6 100644 --- a/chrome/content/zotero/itemTree.jsx +++ b/chrome/content/zotero/itemTree.jsx @@ -2814,7 +2814,8 @@ var ItemTree = class ItemTree extends LibraryTree { else { cell = renderCell.apply(this, arguments); if (column.dataKey === 'numNotes' && data) { - cell.setAttribute('aria-label', Zotero.getString('pane.item.notes.count', data, data) + '.'); + cell.dataset.l10nId = 'items-table-cell-notes'; + cell.dataset.l10nArgs = JSON.stringify({ count: data }); } else if (column.dataKey === 'itemType') { cell.setAttribute('aria-hidden', true); diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index 1a176ce447..3124d1af0c 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -87,6 +87,12 @@ import-online-relink-only = .label = Relink Mendeley Desktop citations import-online-relink-kb = More Information +items-table-cell-notes = + .aria-label = { $count -> + [one] { $count } Note + *[other] { $count } Notes + } + report-error = .label = Report Error…