diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index dad15c29f6..44eaa8a246 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -1360,16 +1360,17 @@ }, "search_engine": { "title": "Search Engine", - "custom_search_engine_info": "Custom search engine requires both a name and a URL to be set. If either of these is not set, DuckDuckGo will be used as the default search engine.", - "predefined_templates_label": "Predefined search engine templates", + "custom_search_engine_info": "If either the name or URL is not set, DuckDuckGo will be used as the default.", + "predefined_templates_label": "Predefined templates", "bing": "Bing", "baidu": "Baidu", "duckduckgo": "DuckDuckGo", "google": "Google", - "custom_name_label": "Custom search engine name", - "custom_name_placeholder": "Customize search engine name", - "custom_url_label": "Custom search engine URL should include {keyword} as a placeholder for the search term.", - "custom_url_placeholder": "Customize search engine URL", + "custom_name_label": "Name", + "custom_name_placeholder": "Search engine name", + "custom_url_label": "URL", + "custom_url_description": "Use {keyword} as a placeholder for the search term.", + "custom_url_placeholder": "Search engine URL", "save_button": "Save" }, "tray": { diff --git a/apps/client/src/widgets/type_widgets/options/other.tsx b/apps/client/src/widgets/type_widgets/options/other.tsx index 9b96db4e09..91273fbe5c 100644 --- a/apps/client/src/widgets/type_widgets/options/other.tsx +++ b/apps/client/src/widgets/type_widgets/options/other.tsx @@ -7,8 +7,6 @@ import server from "../../../services/server"; import toast from "../../../services/toast"; import { isElectron } from "../../../services/utils"; import Button from "../../react/Button"; -import FormCheckbox from "../../react/FormCheckbox"; -import FormGroup from "../../react/FormGroup"; import FormSelect from "../../react/FormSelect"; import FormText from "../../react/FormText"; import FormTextBox, { FormTextBoxWithUnit } from "../../react/FormTextBox"; @@ -74,10 +72,8 @@ function SearchEngineSettings() { }, []); return ( - - {t("search_engine.custom_search_engine_info")} - - + + - + - + - + - + - + ); } @@ -116,7 +112,7 @@ function TrayOptionsSettings() { return ( -