diff --git a/src/locales/en.json b/src/locales/en.json index ebbeb3d..6377401 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -40,14 +40,10 @@ }, "proxymodes": { "title": "Open in", - "subtitle": "Choose how to open your sites on Nebula", + "subtitle": "Choose how to open your sites", "embed": "Embed", "direct": "Direct", "aboutblank": "About:Blank" - }, - "searchengines": { - "title": "Search Engine", - "subtitle": "Choose your search engine for Nebula" } } } diff --git a/src/locales/es.json b/src/locales/es.json index 51c50fc..1a58de5 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -44,10 +44,6 @@ "embed": "Incrustar", "direct": "Directo", "aboutblank": "About:Blank" - }, - "searchengines": { - "title": "Motor de búsqueda.", - "subtitle": "Elija su motor de búsqueda para Nebula" } } } diff --git a/src/locales/ja.json b/src/locales/ja.json index fb2826d..0de1077 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -44,10 +44,6 @@ "embed": "埋め込む", "direct": "直接", "aboutblank": "About:Blank" - }, - "searchengines": { - "title": "検索エンジン", - "subtitle": "ネビュラの検索エンジンを選択してください" } } } diff --git a/src/pages/ProxyFrame.tsx b/src/pages/ProxyFrame.tsx index d6c46cf..6a9fd8c 100644 --- a/src/pages/ProxyFrame.tsx +++ b/src/pages/ProxyFrame.tsx @@ -14,7 +14,7 @@ declare global { export function ProxyFrame(props: { url: string }) { // pass the URL encoded with encodeURIcomponent const localProxy = localStorage.getItem("proxy") || "automatic"; - const proxyMode = localStorage.getItem("proxyMode") || "embed"; // Embed by default + const proxyMode = localStorage.getItem("proxyMode") || "direct"; const searchEngine = localStorage.getItem("searchEngine") || "https://google.com/search?q=%s"; const [ProxiedUrl, setProxiedUrl] = useState(undefined); diff --git a/src/pages/Settings/Proxy.tsx b/src/pages/Settings/Proxy.tsx index 574961f..7a622d0 100644 --- a/src/pages/Settings/Proxy.tsx +++ b/src/pages/Settings/Proxy.tsx @@ -21,8 +21,7 @@ const Proxy = ({ id, active }) => { const searchEngines = [ { id: "https://google.com/search?q=%s", label: "Google" }, - { id: "https://bing.com/search?q=%s", label: "Bing" }, - { id: "https://duckduckgo.com/%s", label: "DuckDuckGo" } + { id: "https://bing.com/search?q=%s", label: "Bing" } ]; return ( @@ -53,8 +52,8 @@ const Proxy = ({ id, active }) => { />
-
{t("settings.searchengines.title")}
-
{t("settings.searchengines.subtitle")}
+
Search ENgines
+
{t("settings.proxymodes.subtitle")}