Bug 885079 - [ca] Search engine setup for Firefox Mobile for Catalan, f=pike
authorflod
Fri, 19 Jul 2013 20:47:59 +0200
changeset 1334 db78c1a60eab0f4ab7d3a1f67f614c52c96138d6
parent 1333 2133e0389c2f2c5fa49bf0d8ec5b7cbc2410ea07
child 1335 3cd1aab0afe64b9990035c08e696e8e0e0a4af63
child 1539 c00317880f89a2fdc57a7e9cc0bfeb2727d8f4e0
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 21:43:21 +0000
bugs885079
Bug 885079 - [ca] Search engine setup for Firefox Mobile for Catalan, f=pike
mobile/searchplugins/diec2.xml
mobile/searchplugins/google.xml
mobile/searchplugins/huubs.xml
mobile/searchplugins/list.txt
mobile/searchplugins/wikipedia-ca.xml
new file mode 100644
--- /dev/null
+++ b/mobile/searchplugins/diec2.xml
@@ -0,0 +1,14 @@
+<!-- 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>DIEC2</ShortName>
+<Description>Diccionari de l'Institut d'Estudis Catalans</Description>
+<InputEncoding>ISO-8859-1</InputEncoding>
+<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmR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LvGSkMF61tsuJ0sIcwFPFyhD5OZTn5qPaOB2YzHRv9X7PEx6AtK+gMaxIlzaQczUYImEOgGUlzgXyyjuiZ9LOgX+vSJswfq59LbADRowDtMh6u9vXfJ56lSCtGyouZ3SB3MubijsH8K/0yl6620BOaS6sG6LlzaQEwnhN/rYsrRvi8fC0l4O5LXt5vA48/rP9KkZ34CLAALApn10aoc18AAAAAElFTkSuQmCC</Image>
+<Url type="text/html" method="GET" template="http://mdlc.iec.cat/results.asp">
+  <Param name="txtEntrada" value="{searchTerms}"/>
+  <Param name="operEntrada" value="0"/>
+</Url>
+<SearchForm>http://mdlc.iec.cat</SearchForm>
+</SearchPlugin>
\ No newline at end of file
deleted file mode 100644
--- a/mobile/searchplugins/google.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!-- 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>Google</ShortName>
-<Description>Google Search</Description>
-<InputEncoding>UTF-8</InputEncoding>
-<Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaRJREFUeNpiVIg5JRURw0A0YAHio943kYV%2B%2Ff33%2BdvvX7%2F%2FMjEx8nKycrGzwKXOiPKzICvdeezLhCV3jp15%2Bfv%2FX0YGhv8MDDxMX2qKTIw0RK10eYD6QYqATvoPBkt3f5K0W9Ew4fjTFz%2F%2Bw8Dm3W8UPeZxqFa%2BevsFyD0twgfVsOfkRxHrtfV9u5BVQ8Crd98%2FffkGYQM1QJ20%2FfSPv79eNxQGYfpSVJADmcvEAHbr7oOX2dj%2FERNKIA2%2F%2F%2Fz%2FxfCDhYVoDUDw5P6vf9%2B5iY0HVmZGQWm%2BN3fff%2Fn2k4eLHS739x%2FDiRs%2Ff%2F%2F5x8HO%2FOHzN3djfqgNjIwMgc6qzLx%2Fpy47j2zY%2Feff06tXhOUucgxeun33AUZGpHh4%2Bvo7t8EyIJqz%2FhpasD59%2B5dNrqdnznZIsEL9ICXCsWuBCwvTv%2FymS5PWPP32ExEALz%2F%2BB5r848cPCJcRaMP9xaYQzofPPzfuvrnj0Jst%2B5%2F8%2Bc4sLPeDkYlRgJc93VPE18NIXkYUmJYQSQMZ%2FP3379uPH7%2F%2F%2FEETBzqJ0WqLGvFpe2LCC4AAAwAyjg7ENzDDWAAAAABJRU5ErkJggg%3D%3D</Image>
-<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;hl={moz:locale}&amp;q={searchTerms}"/>
-<Url type="text/html" method="GET" template="http://www.google.com/search">
-  <Param name="q" value="{searchTerms}"/>
-  <Param name="ie" value="utf-8"/>
-  <Param name="oe" value="utf-8"/>
-  <Param name="aq" value="t"/>
-  <!-- Dynamic parameters -->
-  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
-  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
-</Url>
-<SearchForm>http://www.google.com/firefox</SearchForm>
-</SearchPlugin>
deleted file mode 100644
--- a/mobile/searchplugins/huubs.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- 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>Huubs</ShortName>
-<Description>Cerca integrada al Huubs</Description>
-<InputEncoding>ISO-8859-1</InputEncoding>
-<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A%2FwD%2FoL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cLBAAfIM1pDicAAADySURBVDhPxZMxagJBGIW%2FXZREFAkhKQSJBxArF5ILBLyATZo0pk4n2Ak5haWeQBuvoEUCwSptUljHRhYVnsUfs5vZtQhb%2BMHPzLx%2FeMw8ZjxJIgO%2BK%2FyXHABfb%2FD5asrdI%2BTPbT4bwi6Eegsua7ANYT60Xi2AmyZIksZ96Qmr1VK%2FPF%2BY9j6x9WoZ7Rv3JUmZr5DZwDKIM%2BpYBvddt5NK0mAxtTF4%2BKsfIWlQKIPnQ%2B7M7aSSNHj5gHLFVY%2BSNIhTuob1Nwza4Kfnna4eCNo27jawCa0c7ATVBtz%2BhJYvRt1WD0pX0SuNU20A4Ekn%2FkyZDfbIJ1qovJZ7igAAAABJRU5ErkJggg%3D%3D</Image>
-<Url type="text/html" method="GET" template="http://huubs.imente.com/search">
-  <Param name="query" value="{searchTerms}"/>
-  <Param name="lang" value="ca"/>
-  <Param name="offset" value="0"/>
-</Url>
-<SearchForm>http://huubs.imente.com</SearchForm>
-</SearchPlugin>
--- a/mobile/searchplugins/list.txt
+++ b/mobile/searchplugins/list.txt
@@ -1,4 +1,4 @@
 google
 twitter
 wikipedia-ca
-huubs
+diec2
--- a/mobile/searchplugins/wikipedia-ca.xml
+++ b/mobile/searchplugins/wikipedia-ca.xml
@@ -1,19 +1,18 @@
 <!-- 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>Viquipèdia (ca)</ShortName>
-<Description>Cerca integrada a la Viquipèdia</Description>
 <InputEncoding>UTF-8</InputEncoding>
 <Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAACXBIWXMAAAsTAAALEwEAmpwYAAADGGlDQ1BQaG90b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AgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAHqSURBVHjapJUxb9NQFIW/JAip2xNS1/J+goeqUqeajdGVmFgwI1OcmYEgITFG7EgJQ+b2HzgbElJF+QU2iBl7YAFRnQ5+fnFcB0J8Jp/r53vPu+f6vYEA4JBTTjhkN/zkio9kAAihpyr1v/ijN7ovEHqiffFeDHTAdx6wL46HnPX4HM6HHNEHR0NGvRKMhvRE7wT3ACYssBggpyThIRMCAFaEzHhOiQWumfGFBQGQY0kB9EKSCsVCyKpQxUMhdOEMj4Vi91wIGX2uyNJtwTDHAgbjOUBJ/T50ETDAzCn0CiRpLkSd2VW1rqZR6uOpzHoWl40EkmkIlTIhNJc0bUSlSNNtCaZCKGtpyDZimXB92uhBhTEAHzx/BuQ8Isb62Dti16c7PahrNnbovFhXLGQaau4oqDSULDx/BcCl55cEDTUdCqqagWcXbjpqWD8ZWxRUGq5ZOTYhAXLHV0DU/qCtQLJCkZuM0PHQGThvL152JJh5M61SP2CpMpmmgdsTFDJCiaaubq0haQ7Q3xLUZq4NqzS0DNzWxNq8ksgbFmGgwf95oFgijJuB6v9L3Fx2HSg3XeExZxv1xuSEXQt/o8fqg9cDHfB15zuxjRuOETrfu/5b9bhcf+mlRmLgr/cTgp1vqR9c8YlvALcDAPr5jIx+4LKcAAAAAElFTkSuQmCC</Image>
-<Url type="text/html" method="GET" template="http://ca.m.wikipedia.org/wiki">
+<Url type="text/html" method="GET" template="http://ca.wikipedia.org/wiki/Especial:Cerca">
   <Param name="search" value="{searchTerms}"/>
-  <Param name="sourceid" value="mozilla-search" />
+  <Param name="sourceid" value="Mozilla-search" />
 </Url>
 <Url type="application/x-suggestions+json" method="GET" template="http://ca.wikipedia.org/w/api.php">
     <Param name="action" value="opensearch" />
     <Param name="search" value="{searchTerms}" />
 </Url>
 <SearchForm>http://ca.wikipedia.org/wiki/Especial:Cerca</SearchForm>
 </SearchPlugin>