-
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add hotkey hint to settings, improve translations
- Loading branch information
1 parent
c308e39
commit b690b77
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/renderer/Core/Settings/Pages/SearchEngine/RescanShortcutHint.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { KeyboardShortcut } from "@Core/Components"; | ||
import { Setting } from "@Core/Settings/Setting"; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
export const ManualRescanHotkey = () => { | ||
const { t } = useTranslation("settingsSearchEngine"); | ||
|
||
return <Setting label={t("hotkeyForManualRescan")} control={<KeyboardShortcut shortcut="F5" />} />; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters