зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1413464 - [oc] Search engine setup for Firefox for Occitan r=delphine
I've also renamed wikipediaro.xml to wikipedia-ro.xml, since it's the only file without an hyphen. MozReview-Commit-ID: BXh2t5NzrSt --HG-- rename : browser/locales/searchplugins/wikipediaro.xml => browser/locales/searchplugins/wikipedia-ro.xml extra : rebase_source : 40e95cff70c1de7aa26fcc21f3b1f49e383bf3c2
This commit is contained in:
Родитель
d09cfa3ca5
Коммит
32428ab567
|
@ -591,6 +591,13 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"oc": {
|
||||
"default": {
|
||||
"visibleDefaultEngines": [
|
||||
"google", "yahoo-france", "bing", "ddg", "twitter", "wikipedia-oc", "wiktionary-oc"
|
||||
]
|
||||
}
|
||||
},
|
||||
"or": {
|
||||
"default": {
|
||||
"visibleDefaultEngines": [
|
||||
|
@ -636,7 +643,7 @@
|
|||
"ro": {
|
||||
"default": {
|
||||
"visibleDefaultEngines": [
|
||||
"google", "yahoo", "bing", "amazondotcom", "ddg", "wikipediaro"
|
||||
"google", "yahoo", "bing", "amazondotcom", "ddg", "wikipedia-ro"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>Wikipèdia (oc)</ShortName>
|
||||
<Description>Wikipèdia, l'enciclopèdia liura</Description>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Image width="16" height="16">resource://search-plugins/images/wikipedia.ico</Image>
|
||||
<Url type="application/x-suggestions+json" method="GET" template="https://oc.wikipedia.org/w/api.php">
|
||||
<Param name="action" value="opensearch"/>
|
||||
<Param name="search" value="{searchTerms}"/>
|
||||
</Url>
|
||||
<Url type="text/html" method="GET" template="https://oc.wikipedia.org/wiki/Especial:Recèrca"
|
||||
resultdomain="wikipedia.org" rel="searchform">
|
||||
<Param name="search" value="{searchTerms}"/>
|
||||
<Param name="sourceid" value="Mozilla-search"/>
|
||||
</Url>
|
||||
</SearchPlugin>
|
|
@ -0,0 +1,19 @@
|
|||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>Wikiccionari (oc)</ShortName>
|
||||
<Description>Wikiccionari, lo diccionari liure</Description>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAEAgQAhIOEAMjHyABIR0gA6ejpAGlqaQCpqKkAKCgoAPz9%2FAAZGBkAmJiYANjZ2ABXWFcAent6ALm6uQA8OjwAiIiIiIiIiIiIiI4oiL6IiIiIgzuIV4iIiIhndo53KIiIiB%2FWvXoYiIiIfEZfWBSIiIEGi%2FfoqoiIgzuL84i9iIjpGIoMiEHoiMkos3FojmiLlUipYliEWIF%2BiDe0GoRa7D6GPbjcu1yIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</Image>
|
||||
<Url type="application/x-suggestions+json" method="GET" template="https://oc.wiktionary.org/w/api.php">
|
||||
<Param name="action" value="opensearch"/>
|
||||
<Param name="search" value="{searchTerms}"/>
|
||||
<Param name="namespace" value="0"/>
|
||||
</Url>
|
||||
<Url type="text/html" method="get" template="https://oc.wiktionary.org/wiki/Especial:Recèrca"
|
||||
resultdomain="wiktionary.org" rel="searchform">
|
||||
<Param name="search" value="{searchTerms}"/>
|
||||
</Url>
|
||||
</SearchPlugin>
|
Загрузка…
Ссылка в новой задаче