From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../extensions/google/_locales/en/messages.json | 23 ++++++++++++++ .../google/_locales/region-by/messages.json | 20 ++++++++++++ .../google/_locales/region-kz/messages.json | 20 ++++++++++++ .../google/_locales/region-ru/messages.json | 20 ++++++++++++ .../google/_locales/region-tr/messages.json | 20 ++++++++++++ .../search/extensions/google/favicon.ico | Bin 0 -> 5430 bytes .../search/extensions/google/manifest.json | 34 +++++++++++++++++++++ 7 files changed, 137 insertions(+) create mode 100644 browser/components/search/extensions/google/_locales/en/messages.json create mode 100644 browser/components/search/extensions/google/_locales/region-by/messages.json create mode 100644 browser/components/search/extensions/google/_locales/region-kz/messages.json create mode 100644 browser/components/search/extensions/google/_locales/region-ru/messages.json create mode 100644 browser/components/search/extensions/google/_locales/region-tr/messages.json create mode 100644 browser/components/search/extensions/google/favicon.ico create mode 100644 browser/components/search/extensions/google/manifest.json (limited to 'browser/components/search/extensions/google') diff --git a/browser/components/search/extensions/google/_locales/en/messages.json b/browser/components/search/extensions/google/_locales/en/messages.json new file mode 100644 index 0000000000..e45a67a13f --- /dev/null +++ b/browser/components/search/extensions/google/_locales/en/messages.json @@ -0,0 +1,23 @@ +{ + "extensionName": { + "message": "Google" + }, + "extensionDescription": { + "message": "Google Search" + }, + "searchUrl": { + "message": "https://www.google.com/search" + }, + "searchForm": { + "message": "https://www.google.com/search" + }, + "suggestUrl": { + "message": "https://www.google.com/complete/search?client=firefox&q={searchTerms}" + }, + "searchUrlGetParams": { + "message": "client=firefox-b-d&q={searchTerms}" + }, + "channelPref": { + "message": "google_channel_row" + } +} diff --git a/browser/components/search/extensions/google/_locales/region-by/messages.json b/browser/components/search/extensions/google/_locales/region-by/messages.json new file mode 100644 index 0000000000..4ad45a4aba --- /dev/null +++ b/browser/components/search/extensions/google/_locales/region-by/messages.json @@ -0,0 +1,20 @@ +{ + "extensionName": { + "message": "Google" + }, + "extensionDescription": { + "message": "Google Search" + }, + "searchUrl": { + "message": "https://www.google.by/search" + }, + "searchForm": { + "message": "https://www.google.by/search" + }, + "suggestUrl": { + "message": "https://www.google.by/complete/search?client=firefox&q={searchTerms}" + }, + "searchUrlGetParams": { + "message": "q={searchTerms}" + } +} diff --git a/browser/components/search/extensions/google/_locales/region-kz/messages.json b/browser/components/search/extensions/google/_locales/region-kz/messages.json new file mode 100644 index 0000000000..6497b5a84a --- /dev/null +++ b/browser/components/search/extensions/google/_locales/region-kz/messages.json @@ -0,0 +1,20 @@ +{ + "extensionName": { + "message": "Google" + }, + "extensionDescription": { + "message": "Google Search" + }, + "searchUrl": { + "message": "https://www.google.kz/search" + }, + "searchForm": { + "message": "https://www.google.kz/search" + }, + "suggestUrl": { + "message": "https://www.google.kz/complete/search?client=firefox&q={searchTerms}" + }, + "searchUrlGetParams": { + "message": "q={searchTerms}" + } +} diff --git a/browser/components/search/extensions/google/_locales/region-ru/messages.json b/browser/components/search/extensions/google/_locales/region-ru/messages.json new file mode 100644 index 0000000000..85a6c29902 --- /dev/null +++ b/browser/components/search/extensions/google/_locales/region-ru/messages.json @@ -0,0 +1,20 @@ +{ + "extensionName": { + "message": "Google" + }, + "extensionDescription": { + "message": "Google Search" + }, + "searchUrl": { + "message": "https://www.google.ru/search" + }, + "searchForm": { + "message": "https://www.google.ru/search" + }, + "suggestUrl": { + "message": "https://www.google.ru/complete/search?client=firefox&q={searchTerms}" + }, + "searchUrlGetParams": { + "message": "q={searchTerms}" + } +} diff --git a/browser/components/search/extensions/google/_locales/region-tr/messages.json b/browser/components/search/extensions/google/_locales/region-tr/messages.json new file mode 100644 index 0000000000..4d8cd5a199 --- /dev/null +++ b/browser/components/search/extensions/google/_locales/region-tr/messages.json @@ -0,0 +1,20 @@ +{ + "extensionName": { + "message": "Google" + }, + "extensionDescription": { + "message": "Google Search" + }, + "searchUrl": { + "message": "https://www.google.com.tr/search" + }, + "searchForm": { + "message": "https://www.google.com.tr/search" + }, + "suggestUrl": { + "message": "https://www.google.com.tr/complete/search?client=firefox&q={searchTerms}" + }, + "searchUrlGetParams": { + "message": "q={searchTerms}" + } +} diff --git a/browser/components/search/extensions/google/favicon.ico b/browser/components/search/extensions/google/favicon.ico new file mode 100644 index 0000000000..82339b3b1d Binary files /dev/null and b/browser/components/search/extensions/google/favicon.ico differ diff --git a/browser/components/search/extensions/google/manifest.json b/browser/components/search/extensions/google/manifest.json new file mode 100644 index 0000000000..5c48bf553f --- /dev/null +++ b/browser/components/search/extensions/google/manifest.json @@ -0,0 +1,34 @@ +{ + "name": "__MSG_extensionName__", + "description": "__MSG_extensionDescription__", + "manifest_version": 2, + "version": "1.4", + "browser_specific_settings": { + "gecko": { + "id": "google@search.mozilla.org" + } + }, + "hidden": true, + "default_locale": "en", + "icons": { + "16": "favicon.ico" + }, + "web_accessible_resources": ["favicon.ico"], + "chrome_settings_overrides": { + "search_provider": { + "keyword": "@google", + "name": "__MSG_extensionName__", + "search_url": "__MSG_searchUrl__", + "search_form": "__MSG_searchForm__", + "suggest_url": "__MSG_suggestUrl__", + "params": [ + { + "name": "channel", + "condition": "pref", + "pref": "__MSG_channelPref__" + } + ], + "search_url_get_params": "__MSG_searchUrlGetParams__" + } + } +} -- cgit v1.2.3