From dc2a42ad6d84275a076e0f9f358a502c71e6e1a1 Mon Sep 17 00:00:00 2001 From: Agurato Date: Sat, 8 Jun 2019 13:02:12 +0200 Subject: [PATCH] Add Qwant as search engine --- app/Search.php | 6 ++++++ database/seeds/SettingsSeeder.php | 1 + resources/lang/br/app.php | 1 + resources/lang/de/app.php | 1 + resources/lang/en/app.php | 1 + resources/lang/es/app.php | 1 + resources/lang/fi/app.php | 1 + resources/lang/fr/app.php | 1 + resources/lang/it/app.php | 1 + resources/lang/nl/app.php | 1 + resources/lang/no/app.php | 1 + resources/lang/pl/app.php | 1 + resources/lang/pt/app.php | 1 + resources/lang/sv/app.php | 1 + resources/lang/tr/app.php | 1 + 15 files changed, 20 insertions(+) diff --git a/app/Search.php b/app/Search.php index 13437bd7..cd1f62f1 100644 --- a/app/Search.php +++ b/app/Search.php @@ -60,6 +60,12 @@ abstract class Search 'method' => 'get', 'type' => 'standard', ], + 'qwant' => [ + 'url' => 'https://www.qwant.com/', + 'var' => 'q', + 'method' => 'get', + 'type' => 'standard', + ], ]; } diff --git a/database/seeds/SettingsSeeder.php b/database/seeds/SettingsSeeder.php index 7e99db46..0ba84fd5 100644 --- a/database/seeds/SettingsSeeder.php +++ b/database/seeds/SettingsSeeder.php @@ -90,6 +90,7 @@ class SettingsSeeder extends Seeder 'none' => 'app.options.none', 'google' => 'app.options.google', 'ddg' => 'app.options.ddg', + 'qwant' => 'app.options.qwant', 'bing' => 'app.options.bing', 'startpage' => 'app.options.startpage', ]); diff --git a/resources/lang/br/app.php b/resources/lang/br/app.php index 930bc11d..7821b1d0 100644 --- a/resources/lang/br/app.php +++ b/resources/lang/br/app.php @@ -39,6 +39,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.startpage' => 'Página inicial', 'options.yes' => 'Sim', 'options.no' => 'Não', diff --git a/resources/lang/de/app.php b/resources/lang/de/app.php index adaeb1e4..a18931c9 100644 --- a/resources/lang/de/app.php +++ b/resources/lang/de/app.php @@ -21,6 +21,7 @@ return array ( 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.yes' => 'Ja', 'options.no' => 'Nein', 'buttons.save' => 'Speichern', diff --git a/resources/lang/en/app.php b/resources/lang/en/app.php index aef55aa8..6c336d1d 100644 --- a/resources/lang/en/app.php +++ b/resources/lang/en/app.php @@ -39,6 +39,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.startpage' => 'StartPage', 'options.yes' => 'Yes', 'options.no' => 'No', diff --git a/resources/lang/es/app.php b/resources/lang/es/app.php index dd7c632a..2be3bffc 100644 --- a/resources/lang/es/app.php +++ b/resources/lang/es/app.php @@ -21,6 +21,7 @@ return array ( 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.yes' => 'Sí', 'options.no' => 'No', 'buttons.save' => 'Guardar', diff --git a/resources/lang/fi/app.php b/resources/lang/fi/app.php index 946757cc..6064e480 100644 --- a/resources/lang/fi/app.php +++ b/resources/lang/fi/app.php @@ -32,6 +32,7 @@ return array ( 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.startpage' => 'Etusivu', 'options.yes' => 'Kyllä', 'options.no' => 'Ei', diff --git a/resources/lang/fr/app.php b/resources/lang/fr/app.php index 656e3ebc..3751a074 100644 --- a/resources/lang/fr/app.php +++ b/resources/lang/fr/app.php @@ -30,6 +30,7 @@ return array ( 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.startpage' => 'Page d\'accueil', 'options.yes' => 'Oui', 'options.no' => 'Non', diff --git a/resources/lang/it/app.php b/resources/lang/it/app.php index 47388cb3..3ff138e3 100644 --- a/resources/lang/it/app.php +++ b/resources/lang/it/app.php @@ -33,6 +33,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.yes' => 'Si', 'options.no' => 'No', diff --git a/resources/lang/nl/app.php b/resources/lang/nl/app.php index a2bba533..4cdb6759 100644 --- a/resources/lang/nl/app.php +++ b/resources/lang/nl/app.php @@ -33,6 +33,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.yes' => 'Ja', 'options.no' => 'Nee', diff --git a/resources/lang/no/app.php b/resources/lang/no/app.php index 09e497ab..b643e205 100644 --- a/resources/lang/no/app.php +++ b/resources/lang/no/app.php @@ -33,6 +33,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.yes' => 'Ja', 'options.no' => 'Nei', diff --git a/resources/lang/pl/app.php b/resources/lang/pl/app.php index e8d1a2ab..74153ed7 100644 --- a/resources/lang/pl/app.php +++ b/resources/lang/pl/app.php @@ -33,6 +33,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.yes' => 'Tak', 'options.no' => 'Nie', diff --git a/resources/lang/pt/app.php b/resources/lang/pt/app.php index bd4f1a39..ffaaef17 100644 --- a/resources/lang/pt/app.php +++ b/resources/lang/pt/app.php @@ -39,6 +39,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.startpage' => 'StartPage', 'options.yes' => 'Sim', 'options.no' => 'Não', diff --git a/resources/lang/sv/app.php b/resources/lang/sv/app.php index d2b8f52f..b4841594 100644 --- a/resources/lang/sv/app.php +++ b/resources/lang/sv/app.php @@ -31,6 +31,7 @@ return array ( 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.startpage' => 'Startsida', 'options.yes' => 'Ja', 'options.no' => 'Nej', diff --git a/resources/lang/tr/app.php b/resources/lang/tr/app.php index 671cd6db..1539259a 100644 --- a/resources/lang/tr/app.php +++ b/resources/lang/tr/app.php @@ -33,6 +33,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.qwant' => 'Qwant', 'options.yes' => 'Evet', 'options.no' => 'Hayır',