mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 22:54:23 +01:00
feat(note_icon): add placeholder for search
This commit is contained in:
parent
73975ab521
commit
e57f1e6f23
@ -766,6 +766,7 @@
|
|||||||
"note_icon": {
|
"note_icon": {
|
||||||
"change_note_icon": "Change note icon",
|
"change_note_icon": "Change note icon",
|
||||||
"search": "Search:",
|
"search": "Search:",
|
||||||
|
"search_placeholder": "Type to filter icons...",
|
||||||
"reset-default": "Reset to default icon",
|
"reset-default": "Reset to default icon",
|
||||||
"filter": "Filter",
|
"filter": "Filter",
|
||||||
"filter-none": "All icons",
|
"filter-none": "All icons",
|
||||||
|
|||||||
@ -125,6 +125,7 @@ function NoteIconList({ note, dropdownRef }: {
|
|||||||
inputRef={searchBoxRef}
|
inputRef={searchBoxRef}
|
||||||
type="text"
|
type="text"
|
||||||
name="icon-search"
|
name="icon-search"
|
||||||
|
placeholder={t("note_icon.search_placeholder")}
|
||||||
currentValue={search} onChange={setSearch}
|
currentValue={search} onChange={setSearch}
|
||||||
autoFocus
|
autoFocus
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user