citation dlg: localized "Add to Citation" label (#5150)

Fixes: #5146
This commit is contained in:
abaevbog 2025-03-25 22:35:37 -07:00 • committed by GitHub
parent 8ec81da1d9
commit 314bd08c03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -490,10 +490,11 @@ class LibraryLayout extends Layout {
column.hidden = !['title', 'firstCreator', 'date'].includes(column.dataKey);
return column;
});
let columnLabel = Zotero.getString('integration-citationDialog-add-to-citation');
// Add + column to add an item to the citation on click
itemColumns.push({
dataKey: 'addToCitation',
label: 'Add to citation',
label: columnLabel,
htmlLabel: ' ', // space for column label to appear empty
width: 26,
staticWidth: true,

View file

@ -88,6 +88,7 @@ integration-citationDialog-add-all = Add all
integration-citationDialog-collapse-section =
.title = Collapse section
integration-citationDialog-bubble-empty = (no title)
integration-citationDialog-add-to-citation = Add to Citation
integration-prefs-displayAs-label = Display Citations As:
integration-prefs-footnotes =