Name annotation types by type alone in the Advanced Search
Some checks are pending
CI / Test (shard 1) (push) Waiting to run
CI / Test (shard 2) (push) Waiting to run
CI / Test (shard 3) (push) Waiting to run
CI / Test (shard 4) (push) Waiting to run
CI / Utilities Tests (push) Waiting to run
CI / Build, Upload (push) Waiting to run

The menu labeled Annotation Type listed "Highlight annotation" and "Image
Annotation", from the strings the reader announces annotations with. Use
the short names, which existed for two of the six.
This commit is contained in:
Dan Stillman 2026-08-05 15:02:21 -04:00
parent 09249bfb73
commit 3af8cea1af
2 changed files with 5 additions and 1 deletions

View file

@ -1258,7 +1258,7 @@
['ink', Zotero.Annotations.ANNOTATION_TYPE_INK],
];
let rows = types.map(([name, value]) => ({
name: Zotero.getString('reader-' + name + '-annotation'),
name: Zotero.getString('reader-' + name + '-annotation-short'),
value
}));
this.createValueMenu(rows);

View file

@ -22,9 +22,13 @@ reader-highlight-annotation-short = Highlight
reader-underline-annotation = Underline annotation
reader-underline-annotation-short = Underline
reader-note-annotation = Note Annotation
reader-note-annotation-short = Note
reader-text-annotation = Text Annotation
reader-text-annotation-short = Text
reader-image-annotation = Image Annotation
reader-image-annotation-short = Image
reader-ink-annotation = Ink Annotation
reader-ink-annotation-short = Ink
reader-search-result-index = Search result
reader-search-result-total = Total search results
reader-draw = Draw