mirror of
https://github.com/zadam/trilium.git
synced 2026-02-27 17:13:38 +01:00
chore(search): use translation for button
This commit is contained in:
parent
d245fdd1b8
commit
1441ac67ab
@ -1824,7 +1824,8 @@
|
||||
},
|
||||
"search_result": {
|
||||
"no_notes_found": "No notes have been found for given search parameters.",
|
||||
"search_not_executed": "Search has not been executed yet."
|
||||
"search_not_executed": "Search has not been executed yet.",
|
||||
"search_now": "Search now"
|
||||
},
|
||||
"spacer": {
|
||||
"configure_launchbar": "Configure Launchbar"
|
||||
|
||||
@ -49,10 +49,7 @@ export default function SearchResult() {
|
||||
<div className={clsx("search-result-widget", state === undefined && "hidden-ext")}>
|
||||
{state === SearchResultState.NOT_EXECUTED && (
|
||||
<NoItems icon="bx bx-file-find" text={t("search_result.search_not_executed")}>
|
||||
<Button
|
||||
text="Search now"
|
||||
triggerCommand="searchNotes"
|
||||
/>
|
||||
<Button text={t("search_result.search_now")} triggerCommand="searchNotes" />
|
||||
</NoItems>
|
||||
)}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user