From dc2a42ad6d84275a076e0f9f358a502c71e6e1a1 Mon Sep 17 00:00:00 2001 From: Agurato Date: Sat, 8 Jun 2019 13:02:12 +0200 Subject: [PATCH 1/6] 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', From 698a7a9bbca2998d1bf5b27099ed82131ddd61bb Mon Sep 17 00:00:00 2001 From: KodeStar Date: Tue, 11 Jun 2019 11:28:07 +0100 Subject: [PATCH 2/6] remove startpage --- database/seeds/SettingsSeeder.php | 1 - 1 file changed, 1 deletion(-) diff --git a/database/seeds/SettingsSeeder.php b/database/seeds/SettingsSeeder.php index 0ba84fd5..f06abe80 100644 --- a/database/seeds/SettingsSeeder.php +++ b/database/seeds/SettingsSeeder.php @@ -92,7 +92,6 @@ class SettingsSeeder extends Seeder 'ddg' => 'app.options.ddg', 'qwant' => 'app.options.qwant', 'bing' => 'app.options.bing', - 'startpage' => 'app.options.startpage', ]); if(!$setting = Setting::find(4)) { From 3916b2d4dc5144aa9d51e687ea0607d5b25aa2fe Mon Sep 17 00:00:00 2001 From: KodeStar Date: Tue, 11 Jun 2019 11:29:38 +0100 Subject: [PATCH 3/6] remove startpage --- resources/lang/pt/app.php | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/lang/pt/app.php b/resources/lang/pt/app.php index ffaaef17..77a84fd4 100644 --- a/resources/lang/pt/app.php +++ b/resources/lang/pt/app.php @@ -40,7 +40,6 @@ return [ 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', 'options.qwant' => 'Qwant', - 'options.startpage' => 'StartPage', 'options.yes' => 'Sim', 'options.no' => 'Não', From 03c675ed576002d830202405b1235c16563a9d94 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Tue, 11 Jun 2019 11:29:54 +0100 Subject: [PATCH 4/6] remove startpage --- resources/lang/sv/app.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lang/sv/app.php b/resources/lang/sv/app.php index b4841594..e51dfd57 100644 --- a/resources/lang/sv/app.php +++ b/resources/lang/sv/app.php @@ -32,7 +32,6 @@ return array ( 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', 'options.qwant' => 'Qwant', - 'options.startpage' => 'Startsida', 'options.yes' => 'Ja', 'options.no' => 'Nej', @@ -111,4 +110,4 @@ return array ( 'alert.success.user_updated' => 'Anvädare uppdaterad', 'alert.success.user_deleted' => 'Användare borttagen', 'alert.success.user_restored' => 'Användare återställd', -); \ No newline at end of file +); From f182f305fcf37e4040b250863daadcc723260084 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Tue, 11 Jun 2019 11:30:17 +0100 Subject: [PATCH 5/6] remove startpage --- resources/lang/fr/app.php | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/lang/fr/app.php b/resources/lang/fr/app.php index 3751a074..d55efa50 100644 --- a/resources/lang/fr/app.php +++ b/resources/lang/fr/app.php @@ -31,7 +31,6 @@ return array ( 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', 'options.qwant' => 'Qwant', - 'options.startpage' => 'Page d\'accueil', 'options.yes' => 'Oui', 'options.no' => 'Non', From 38e93d33f198acb2a8c1ee7fe882276981813c77 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Tue, 11 Jun 2019 11:30:33 +0100 Subject: [PATCH 6/6] remove startpage --- resources/lang/fi/app.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lang/fi/app.php b/resources/lang/fi/app.php index 6064e480..88a6d773 100644 --- a/resources/lang/fi/app.php +++ b/resources/lang/fi/app.php @@ -33,7 +33,6 @@ return array ( 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', 'options.qwant' => 'Qwant', - 'options.startpage' => 'Etusivu', 'options.yes' => 'Kyllä', 'options.no' => 'Ei', @@ -112,4 +111,4 @@ return array ( 'alert.success.user_updated' => 'Käyttäjä päivitetty onnistuneesti', 'alert.success.user_deleted' => 'Käyttäjä poistettu onnistuneesti', 'alert.success.user_restored' => 'Käyttäjä palautettu onnistuneesti', -); \ No newline at end of file +);