summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/search/extensions/wiktionary
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mail/components/search/extensions/wiktionary
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--comm/mail/components/search/extensions/wiktionary/_locales/oc/messages.json20
-rw-r--r--comm/mail/components/search/extensions/wiktionary/_locales/te/messages.json20
-rw-r--r--comm/mail/components/search/extensions/wiktionary/favicon.icobin0 -> 318 bytes
-rw-r--r--comm/mail/components/search/extensions/wiktionary/manifest.json26
4 files changed, 66 insertions, 0 deletions
diff --git a/comm/mail/components/search/extensions/wiktionary/_locales/oc/messages.json b/comm/mail/components/search/extensions/wiktionary/_locales/oc/messages.json
new file mode 100644
index 0000000000..612ef8c44a
--- /dev/null
+++ b/comm/mail/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?search={searchTerms}"
+ },
+ "suggestUrl": {
+ "message": "https://oc.wiktionary.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0"
+ },
+ "searchUrlGetParams": {
+ "message": "search={searchTerms}"
+ }
+}
diff --git a/comm/mail/components/search/extensions/wiktionary/_locales/te/messages.json b/comm/mail/components/search/extensions/wiktionary/_locales/te/messages.json
new file mode 100644
index 0000000000..7bca94e025
--- /dev/null
+++ b/comm/mail/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/ప్రత్యేక:అన్వేషణ?search={searchTerms}"
+ },
+ "suggestUrl": {
+ "message": "https://te.wiktionary.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0"
+ },
+ "searchUrlGetParams": {
+ "message": "search={searchTerms}"
+ }
+}
diff --git a/comm/mail/components/search/extensions/wiktionary/favicon.ico b/comm/mail/components/search/extensions/wiktionary/favicon.ico
new file mode 100644
index 0000000000..31b0e38092
--- /dev/null
+++ b/comm/mail/components/search/extensions/wiktionary/favicon.ico
Binary files differ
diff --git a/comm/mail/components/search/extensions/wiktionary/manifest.json b/comm/mail/components/search/extensions/wiktionary/manifest.json
new file mode 100644
index 0000000000..2206a2f8bb
--- /dev/null
+++ b/comm/mail/components/search/extensions/wiktionary/manifest.json
@@ -0,0 +1,26 @@
+{
+ "name": "__MSG_extensionName__",
+ "description": "__MSG_extensionDescription__",
+ "manifest_version": 2,
+ "version": "1.0",
+ "applications": {
+ "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__"
+ }
+ }
+}