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 --- .../wiktionary/_locales/oc/messages.json | 20 ++++++++++++++++ .../wiktionary/_locales/te/messages.json | 20 ++++++++++++++++ .../search/extensions/wiktionary/favicon.ico | Bin 0 -> 318 bytes .../search/extensions/wiktionary/manifest.json | 26 +++++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 browser/components/search/extensions/wiktionary/_locales/oc/messages.json create mode 100644 browser/components/search/extensions/wiktionary/_locales/te/messages.json create mode 100644 browser/components/search/extensions/wiktionary/favicon.ico create mode 100644 browser/components/search/extensions/wiktionary/manifest.json (limited to 'browser/components/search/extensions/wiktionary') diff --git a/browser/components/search/extensions/wiktionary/_locales/oc/messages.json b/browser/components/search/extensions/wiktionary/_locales/oc/messages.json new file mode 100644 index 0000000000..58367bf130 --- /dev/null +++ b/browser/components/search/extensions/wiktionary/_locales/oc/messages.json @@ -0,0 +1,20 @@ +{ + "extensionName": { + "message": "Wikiccionari (oc)" + }, + "extensionDescription": { + "message": "Wikiccionari, lo diccionari liure" + }, + "searchUrl": { + "message": "https://oc.wiktionary.org/wiki/Especial:Recèrca" + }, + "searchForm": { + "message": "https://oc.wiktionary.org/wiki/Especial:Recèrca" + }, + "suggestUrl": { + "message": "https://oc.wiktionary.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0" + }, + "searchUrlGetParams": { + "message": "search={searchTerms}" + } +} diff --git a/browser/components/search/extensions/wiktionary/_locales/te/messages.json b/browser/components/search/extensions/wiktionary/_locales/te/messages.json new file mode 100644 index 0000000000..19201032ff --- /dev/null +++ b/browser/components/search/extensions/wiktionary/_locales/te/messages.json @@ -0,0 +1,20 @@ +{ + "extensionName": { + "message": "విక్షనరీ (te)" + }, + "extensionDescription": { + "message": "విక్షనరీ (te)" + }, + "searchUrl": { + "message": "https://te.wiktionary.org/wiki/ప్రత్యేక:అన్వేషణ" + }, + "searchForm": { + "message": "https://te.wiktionary.org/wiki/ప్రత్యేక:అన్వేషణ" + }, + "suggestUrl": { + "message": "https://te.wiktionary.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0" + }, + "searchUrlGetParams": { + "message": "search={searchTerms}" + } +} diff --git a/browser/components/search/extensions/wiktionary/favicon.ico b/browser/components/search/extensions/wiktionary/favicon.ico new file mode 100644 index 0000000000..31b0e38092 Binary files /dev/null and b/browser/components/search/extensions/wiktionary/favicon.ico differ diff --git a/browser/components/search/extensions/wiktionary/manifest.json b/browser/components/search/extensions/wiktionary/manifest.json new file mode 100644 index 0000000000..5301fdd1cc --- /dev/null +++ b/browser/components/search/extensions/wiktionary/manifest.json @@ -0,0 +1,26 @@ +{ + "name": "__MSG_extensionName__", + "description": "__MSG_extensionDescription__", + "manifest_version": 2, + "version": "1.2", + "browser_specific_settings": { + "gecko": { + "id": "wiktionary@search.mozilla.org" + } + }, + "hidden": true, + "default_locale": "oc", + "icons": { + "16": "favicon.ico" + }, + "web_accessible_resources": ["favicon.ico"], + "chrome_settings_overrides": { + "search_provider": { + "name": "__MSG_extensionName__", + "search_url": "__MSG_searchUrl__", + "search_form": "__MSG_searchForm__", + "suggest_url": "__MSG_suggestUrl__", + "search_url_get_params": "__MSG_searchUrlGetParams__" + } + } +} -- cgit v1.2.3