"(no value)" → "Clear all values" in multi-value autocomplete

This commit is contained in:
Dan Stillman 2026-06-09 14:50:22 -04:00
parent 7751801c87
commit efed75fa51
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ export class OptionsAutoComplete {
let matches = filtered.map(({ label }) => label);
let values = filtered.map(({ value }) => value);
let noValueLabel = searchParams?.includeNoValue && !searchString
? Zotero.getString('item-pane-batch-editing-no-value')
? Zotero.getString('item-pane-batch-editing-clear-values')
: null;
const result = makeResult(searchString, matches, { noValueLabel, values });
listener.onSearchResult(this, result);

View file

@ -909,7 +909,7 @@ item-pane-batch-editing-enable =
item-pane-batch-editing-multiple-values-placeholder = Multiple
item-pane-batch-editing-no-value = (No value)
item-pane-batch-editing-clear-values = Clear all values
item-pane-batch-editing-header = { $count ->
[one] Editing { $count } item