collection search tooltiptext and placeholder cleanup (#3632)
Fluent tooltiptext for collection search button and placeholder for collection search input
This commit is contained in:
parent
4a3a80b4f8
commit
a74c86d948
2 changed files with 7 additions and 4 deletions
|
@ -1024,11 +1024,11 @@
|
|||
<toolbarbutton id="zotero-tb-collection-add" tabindex="-1" class="zotero-tb-button" tooltiptext="&zotero.toolbar.newCollection.label;" command="cmd_zotero_newCollection"/>
|
||||
<spacer flex="1"></spacer>
|
||||
<html:div style="display: flex;flex-direction: row;">
|
||||
<toolbarbutton id="zotero-tb-collections-search" tabindex="-1" class="zotero-tb-button" tooltiptext="&zotero.toolbar.newCollection.label;"/>
|
||||
<!-- For unknown reason, the data-l10n-id.placeholder doesn't work here. Hard code it for now -->
|
||||
<toolbarbutton id="zotero-tb-collections-search" data-l10n-id="zotero-collections-search-btn" tabindex="-1" class="zotero-tb-button"/>
|
||||
<search-textbox
|
||||
id="zotero-collections-search" class="hidden" disabled="true"
|
||||
placeholder="Filter Collections" data-l10n-id="zotero-collections-search"
|
||||
data-l10n-id="zotero-collections-search"
|
||||
data-l10n-attrs="placeholder"
|
||||
oncommand="ZoteroPane.handleCollectionSearchInput()"/>
|
||||
</html:div>
|
||||
</hbox>
|
||||
|
|
|
@ -34,8 +34,11 @@ menu-new-item-note =
|
|||
|
||||
zotero-toolbar-tabs-menu =
|
||||
.tooltiptext = List all tabs
|
||||
filter-collections = Filter Collections
|
||||
zotero-collections-search =
|
||||
.placeholder = Filter Collections
|
||||
.placeholder = { filter-collections }
|
||||
zotero-collections-search-btn =
|
||||
.tooltiptext = { filter-collections }
|
||||
zotero-tabs-menu-filter =
|
||||
.placeholder = Search Tabs
|
||||
zotero-tabs-menu-close-button =
|
||||
|
|
Loading…
Reference in a new issue