From 2006498bbd93868e305d17db8467771664ea6f06 Mon Sep 17 00:00:00 2001 From: Joel Reis Date: Tue, 26 Feb 2019 16:44:11 -0500 Subject: [PATCH] Ref #920: Added mapping file for deprecated search engines. --- Client.xcodeproj/project.pbxproj | 10 +++++++--- .../Browser/Search/ShortNameToFileMapping.json | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 Client/Frontend/Browser/Search/ShortNameToFileMapping.json diff --git a/Client.xcodeproj/project.pbxproj b/Client.xcodeproj/project.pbxproj index ddc3d4077b4..765bb8bf27f 100644 --- a/Client.xcodeproj/project.pbxproj +++ b/Client.xcodeproj/project.pbxproj @@ -399,8 +399,8 @@ 55A747171DC46FC400CE1B57 /* HomePageUITest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55A747161DC46FC400CE1B57 /* HomePageUITest.swift */; }; 595E0EDB21CAD97C00813D49 /* CookieControl.js in Resources */ = {isa = PBXBuildFile; fileRef = 595E0EDA21CAD97C00813D49 /* CookieControl.js */; }; 595E0EE121CAEF5B00813D49 /* FileManagerExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 595E0EE021CAEF5B00813D49 /* FileManagerExtension.swift */; }; - 59871C1921E4D83900316590 /* block-cookies.json in Resources */ = {isa = PBXBuildFile; fileRef = 59871C1821E4D83900316590 /* block-cookies.json */; }; 5965CA222215D4A0000B9EC1 /* CustomHeaderDataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5965CA212215D4A0000B9EC1 /* CustomHeaderDataTests.swift */; }; + 59871C1921E4D83900316590 /* block-cookies.json in Resources */ = {isa = PBXBuildFile; fileRef = 59871C1821E4D83900316590 /* block-cookies.json */; }; 59A681BDFC95A19F05E07223 /* SearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 59A68CCB63E2A565CB03F832 /* SearchViewController.swift */; }; 59A68D66379CFA85C4EAF00B /* TwoLineCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 59A68B1F857A8638598A63A0 /* TwoLineCell.swift */; }; 59B6902921B684A700E9388E /* BundleExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 59B6902821B684A700E9388E /* BundleExtension.swift */; }; @@ -443,6 +443,7 @@ 5D6DDEF3214003A6001FF0AE /* DAU.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D6DDEE6214003A6001FF0AE /* DAU.swift */; }; 5D6DDEFE2141B6A1001FF0AE /* Preferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D6DDEF62141B6A0001FF0AE /* Preferences.swift */; }; 5D6DDF0021428CF0001FF0AE /* DAUTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D6DDEFF21428CF0001FF0AE /* DAUTests.swift */; }; + 5D7001C222249F7B00E576FB /* ShortNameToFileMapping.json in Resources */ = {isa = PBXBuildFile; fileRef = 5D7001BA22249F7A00E576FB /* ShortNameToFileMapping.json */; }; 5DE5250D218CE92C000DFAA6 /* block-ads.json in Resources */ = {isa = PBXBuildFile; fileRef = 5DE52508218CE92B000DFAA6 /* block-ads.json */; }; 5DE5250E218CE92C000DFAA6 /* block-images.json in Resources */ = {isa = PBXBuildFile; fileRef = 5DE52509218CE92B000DFAA6 /* block-images.json */; }; 5DE5250F218CE92C000DFAA6 /* upgrade-http.json in Resources */ = {isa = PBXBuildFile; fileRef = 5DE5250A218CE92B000DFAA6 /* upgrade-http.json */; }; @@ -1507,8 +1508,8 @@ 5929A9F421B6AF18005ECF8D /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 595E0EDA21CAD97C00813D49 /* CookieControl.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = CookieControl.js; sourceTree = ""; }; 595E0EE021CAEF5B00813D49 /* FileManagerExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileManagerExtension.swift; sourceTree = ""; }; - 59871C1821E4D83900316590 /* block-cookies.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "block-cookies.json"; sourceTree = ""; }; 5965CA212215D4A0000B9EC1 /* CustomHeaderDataTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomHeaderDataTests.swift; sourceTree = ""; }; + 59871C1821E4D83900316590 /* block-cookies.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "block-cookies.json"; sourceTree = ""; }; 59A68B1F857A8638598A63A0 /* TwoLineCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TwoLineCell.swift; sourceTree = ""; }; 59A68CCB63E2A565CB03F832 /* SearchViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SearchViewController.swift; sourceTree = ""; }; 59B6902821B684A700E9388E /* BundleExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BundleExtension.swift; sourceTree = ""; }; @@ -1740,6 +1741,7 @@ 5D6DDEE6214003A6001FF0AE /* DAU.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DAU.swift; sourceTree = ""; }; 5D6DDEF62141B6A0001FF0AE /* Preferences.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Preferences.swift; sourceTree = ""; }; 5D6DDEFF21428CF0001FF0AE /* DAUTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DAUTests.swift; sourceTree = ""; }; + 5D7001BA22249F7A00E576FB /* ShortNameToFileMapping.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = ShortNameToFileMapping.json; sourceTree = ""; }; 5DE52508218CE92B000DFAA6 /* block-ads.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "block-ads.json"; sourceTree = ""; }; 5DE52509218CE92B000DFAA6 /* block-images.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "block-images.json"; sourceTree = ""; }; 5DE5250A218CE92B000DFAA6 /* upgrade-http.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "upgrade-http.json"; sourceTree = ""; }; @@ -2424,6 +2426,7 @@ D31A0FC61A65D6D000DC8C7E /* SearchSuggestClient.swift */, 59A68CCB63E2A565CB03F832 /* SearchViewController.swift */, 27F94A3921909A5900F4FADF /* SearchSuggestionsPromptView.swift */, + 5D7001BA22249F7A00E576FB /* ShortNameToFileMapping.json */, ); path = Search; sourceTree = ""; @@ -2559,7 +2562,7 @@ C817B34C1FC609500086018E /* UIScrollViewSwizzled.swift */, A1AD4BE020C082EF007A6EA1 /* UIGestureRecognizerExtensions.swift */, A1AD4BE220C0861D007A6EA1 /* UIBarButtonItemExtensions.swift */, - 595E0EE021CAEF5B00813D49 /* FileManagerExtension.swift */, + 595E0EE021CAEF5B00813D49 /* FileManagerExtension.swift */, ); indentWidth = 4; name = Extensions; @@ -4910,6 +4913,7 @@ E4B7B7631A793CF20022C5E0 /* CharisSILI.ttf in Resources */, E4CD9F541A71506400318571 /* Reader.html in Resources */, C6345ECB2113B3A000CFB983 /* SearchPlugins in Resources */, + 5D7001C222249F7B00E576FB /* ShortNameToFileMapping.json in Resources */, 4422D55921BFFB7F00BF1855 /* unicode.py in Resources */, 7B2142FE1E5E055000CDD3FC /* InfoPlist.strings in Resources */, E69922171B94E3EF007C480D /* Licenses.html in Resources */, diff --git a/Client/Frontend/Browser/Search/ShortNameToFileMapping.json b/Client/Frontend/Browser/Search/ShortNameToFileMapping.json new file mode 100644 index 00000000000..64b6f164158 --- /dev/null +++ b/Client/Frontend/Browser/Search/ShortNameToFileMapping.json @@ -0,0 +1 @@ +{"Amazon.co.uk":"amazon-en-GB","Amazon.de":"amazon-de","Amazon.fr":"amazon-france","Amazon.in":"amazon-in","Amazon.co.jp":"amazon-jp","Amazon.com":"amazondotcom","Azerdict":"azerdict","Azet.sk - firmy":"azet-sk","百度":"baidu","Bing":"bing","bol.com":"bolcom-nl","m.Ceneje.si":"ceneje","다나와":"danawa-kr","다음지도":"daum-kr","DIEC2":"diec2","Diccionario RAE":"drae","DuckDuckGo":"duckduckgo","eBay":"eBay-it","eBay France":"eBay-france","eBay India":"eBay-in","Elebila":"elebila","Am Faclair Beag":"faclair-beag","Github":"github","Google":"google","Gule sider mobil":"gulesider-mobile-NO","Heuréka":"heureka-cz","leit.is":"leit-is","LEO Eng-Tud":"leo_ende_de","List.am":"list-am","Mapy.cz":"mapy-cz","MercadoLibre Argentina":"mercadolibre-ar","MercadoLibre Chile":"mercadolibre-cl","MercadoLibre Mexico":"mercadolibre-mx","네이버":"naver-kr","Odpiralni Časi":"odpiralni","Pledari Grond":"pledarigrond","Prisjakt":"prisjakt-sv-SE","Qwant":"qwant","Rediff":"rediff","Revoserĉo":"reta-vortaro","Salidzini.lv":"salidzinilv","Semantic Scholar":"semanticscholar","Seznam":"seznam-cz","Skroutz":"skroutz","Slovnik.sk":"slovnik-sk","SS.lv":"sslv","Stack Overflow":"stackoverflow","StartPage":"startpage","SZTAKI angol-magyar":"sztaki-en-hu","淘宝":"taobao","tearma.ie":"tearma","TUT.BY":"tut.by","Twitter":"twitter","Vatera.hu":"vatera","Wikipedia (nn)":"wikipedia-NN","Wikipedia (no)":"wikipedia-NO","ويكيبيديا (ar)":"wikipedia-ar","অসমীয়া ৱিকিপিডিয়া (as)":"wikipedia-as","Wikipedia (ast)":"wikipedia-ast","Vikipediya (az)":"wikipedia-az","Уикипедия (bg)":"wikipedia-bg","উইকিপিডিয়া (bn)":"wikipedia-bn","Wikipedia (br)":"wikipedia-br","Viquipèdia (ca)":"wikipedia-ca","Wicipedia (cy)":"wikipedia-cy","Wikipedie (cs)":"wikipedia-cz","Wikipedia (da)":"wikipedia-da","Wikipedia (de)":"wikipedia-de","Wikipedija (dsb)":"wikipedia-dsb","Wikipedia (el)":"wikipedia-el","Vikipedio (eo)":"wikipedia-eo","Wikipedia (es)":"wikipedia-es","Vikipeedia (et)":"wikipedia-et","Wikipedia (eu)":"wikipedia-eu","ویکی‌پدیا (fa)":"wikipedia-fa","Wikipedia (fi)":"wikipedia-fi","Wikipédia (fr)":"wikipedia-fr","Wikipedia (fy)":"wikipedia-fy-NL","Vicipéid (ga)":"wikipedia-ga-IE","Wikipedia (gd)":"wikipedia-gd","Wikipedia (gl)":"wikipedia-gl","વિકિપીડિયા (gu)":"wikipedia-gu","ויקיפדיה":"wikipedia-he","विकिपीडिया (hi)":"wikipedia-hi","Wikipedija (hr)":"wikipedia-hr","Wikipedija (hsb)":"wikipedia-hsb","Wikipédia (hu)":"wikipedia-hu","Վիքիպեդիա (hy)":"wikipedia-hy-AM","Wikipedia (id)":"wikipedia-id","Wikipedia (is)":"wikipedia-is","Wikipedia (it)":"wikipedia-it","Wikipedia (ja)":"wikipedia-ja","ვიკიპედია (ka)":"wikipedia-ka","Wikipedia (kab)":"wikipedia-kab","Уикипедия (kk)":"wikipedia-kk","ವಿಕಿಪೀಡಿಯ (kn)":"wikipedia-kn","ວິກິພີເດຍ (lo)":"wikipedia-lo","Wikipedia (lt)":"wikipedia-lt","Vikipēdija (lv)":"wikipedia-lv","വിക്കിപീഡിയ (ml)":"wikipedia-ml","विकिपीडिया (mr)":"wikipedia-mr","Wikipedia (ms)":"wikipedia-ms","Wikipedia (my)":"wikipedia-my","विकिपीडिया (ne)":"wikipedia-ne","Wikipedia (nl)":"wikipedia-nl","ଉଇକିପିଡ଼ିଆ (or)":"wikipedia-or","Wikipedia (pl)":"wikipedia-pl","Wikipedia (pt)":"wikipedia-ptpt","Wikipedia (rm)":"wikipedia-rm","Wikipedia (ro)":"wikipedia-ro","Википедия (ru)":"wikipedia-ru","Wikipédia (sk)":"wikipedia-sk","Wikipedija (sl)":"wikipedia-sl","Wikipedia (sq)":"wikipedia-sq","Википедија (sr)":"wikipedia-sr","Wikipedia (sv)":"wikipedia-sv-SE","விக்கிப்பீடியா (ta)":"wikipedia-ta","వికీపీడియా (te)":"wikipedia-te","วิกิพีเดีย":"wikipedia-th","Wikipedia (tr)":"wikipedia-tr","Вікіпедія":"wikipedia-uk","ویکیپیڈیا (ur)":"wikipedia-ur","Vikipediya (uz)":"wikipedia-uz","维基百科":"wikipedia-zh-CN","Wikipedia (zh)":"wikipedia-zh-TW","Wikipedia":"wikipedia","ವಿಕ್ಷನರಿ (kn)":"wiktionary-kn","Wiktionary (or)":"wiktionary-or","விக்சனரி (ta)":"wiktionary-ta","విక్షనరీ (te)":"wiktionary-te","Wolfram Alpha":"wolframalpha","Yahoo":"yahoo","Yahoo.co.uk":"yahoo-en-GB","Yahoo! JAPAN":"yahoo-jp","Яндекс.Маркет":"yandex-market","Яндекс":"yandex","Yandex":"yandex-tr","YouTube":"youtube"}