mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
"(no value)" → "Clear all values" in multi-value autocomplete
This commit is contained in:
parent
7751801c87
commit
efed75fa51
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue