diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /browser/components/search/extensions/wiktionary | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/search/extensions/wiktionary')
4 files changed, 66 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000000..31b0e38092 --- /dev/null +++ b/browser/components/search/extensions/wiktionary/favicon.ico 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__" + } + } +} |