From db51a643906460992dad0dac06eae92174e0f16f Mon Sep 17 00:00:00 2001 From: dalf Date: Fri, 1 Oct 2021 06:23:31 +0000 Subject: [PATCH] Update searx.data - update_languages.py --- searx/data/engines_languages.json | 8 -------- searx/languages.py | 5 +---- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/searx/data/engines_languages.json b/searx/data/engines_languages.json index 2e861e1e6..fe7e467fc 100644 --- a/searx/data/engines_languages.json +++ b/searx/data/engines_languages.json @@ -25491,7 +25491,6 @@ "en-CA", "en-GB", "en-IE", - "en-IN", "en-MY", "en-NZ", "en-US", @@ -25513,7 +25512,6 @@ "nl-BE", "nl-NL", "pl-PL", - "pt-BR", "pt-PT", "ro-RO", "sv-SE", @@ -25534,7 +25532,6 @@ "en-CA", "en-GB", "en-IE", - "en-IN", "en-MY", "en-NZ", "en-US", @@ -25556,7 +25553,6 @@ "nl-BE", "nl-NL", "pl-PL", - "pt-BR", "pt-PT", "ro-RO", "sv-SE", @@ -25577,7 +25573,6 @@ "en-CA", "en-GB", "en-IE", - "en-IN", "en-MY", "en-NZ", "en-US", @@ -25599,7 +25594,6 @@ "nl-BE", "nl-NL", "pl-PL", - "pt-BR", "pt-PT", "ro-RO", "sv-SE", @@ -25620,7 +25614,6 @@ "en-CA", "en-GB", "en-IE", - "en-IN", "en-MY", "en-NZ", "en-US", @@ -25642,7 +25635,6 @@ "nl-BE", "nl-NL", "pl-PL", - "pt-BR", "pt-PT", "ro-RO", "sv-SE", diff --git a/searx/languages.py b/searx/languages.py index 5f52d03f3..f2d46e4f9 100644 --- a/searx/languages.py +++ b/searx/languages.py @@ -19,7 +19,6 @@ language_codes = \ ('en-CA', 'English', 'Canada', 'English'), ('en-GB', 'English', 'United Kingdom', 'English'), ('en-IE', 'English', 'Ireland', 'English'), - ('en-IN', 'English', 'India', 'English'), ('en-NZ', 'English', 'New Zealand', 'English'), ('en-US', 'English', 'United States', 'English'), ('es', 'Español', '', 'Spanish'), @@ -50,9 +49,7 @@ language_codes = \ ('nl-BE', 'Nederlands', 'België', 'Dutch'), ('nl-NL', 'Nederlands', 'Nederland', 'Dutch'), ('pl-PL', 'Polski', '', 'Polish'), - ('pt', 'Português', '', 'Portuguese'), - ('pt-BR', 'Português', 'Brasil', 'Portuguese'), - ('pt-PT', 'Português', 'Portugal', 'Portuguese'), + ('pt-PT', 'Português', '', 'Portuguese'), ('ro-RO', 'Română', '', 'Romanian'), ('ru-RU', 'Русский', '', 'Russian'), ('sk-SK', 'Slovenčina', '', 'Slovak'),