Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: desktop-options.js

Issue 29584714: Issue 5874 - Sync strings with the agencies translations (Closed)
Left Patch Set: Rebased Created Oct. 23, 2017, 1:03 p.m.
Right Patch Set: Updated Fanboy's list tooltip description Created Oct. 23, 2017, 4:30 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « desktop-options.html ('k') | locale/en_US/common.json » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 E("enable-acceptable-ads-privacy-description").href = link; 918 E("enable-acceptable-ads-privacy-description").href = link;
919 }); 919 });
920 getDocLink("adblock_plus_{browser}_dnt", url => 920 getDocLink("adblock_plus_{browser}_dnt", url =>
921 { 921 {
922 setLinks("dnt", url); 922 setLinks("dnt", url);
923 }); 923 });
924 924
925 // Whitelisted tab 925 // Whitelisted tab
926 getDocLink("whitelist", (link) => 926 getDocLink("whitelist", (link) =>
927 { 927 {
928 setLinks("whitelist-description", link); 928 E("whitelist-learn-more").href = link;
929 }); 929 });
930 930
931 // Advanced tab 931 // Advanced tab
932 let customize = document.querySelectorAll("#customize li[data-pref]"); 932 let customize = document.querySelectorAll("#customize li[data-pref]");
933 customize = Array.prototype.map.call(customize, (checkbox) => 933 customize = Array.prototype.map.call(customize, (checkbox) =>
934 { 934 {
935 return checkbox.getAttribute("data-pref"); 935 return checkbox.getAttribute("data-pref");
936 }); 936 });
937 for (let key of customize) 937 for (let key of customize)
938 { 938 {
(...skipping 11 matching lines...) Expand all
950 hidePref("show_devtools_panel", !features.devToolsPanel); 950 hidePref("show_devtools_panel", !features.devToolsPanel);
951 }); 951 });
952 952
953 getDocLink("filterdoc", (link) => 953 getDocLink("filterdoc", (link) =>
954 { 954 {
955 E("link-filters").setAttribute("href", link); 955 E("link-filters").setAttribute("href", link);
956 }); 956 });
957 957
958 getDocLink("subscriptions", (link) => 958 getDocLink("subscriptions", (link) =>
959 { 959 {
960 setLinks("filter-lists-description", link); 960 E("filter-lists-learn-more").setAttribute("href", link);
961 }); 961 });
962 962
963 E("custom-filters-raw").setAttribute("placeholder", 963 E("custom-filters-raw").setAttribute("placeholder",
964 getMessage("options_customFilters_edit_placeholder", ["/ads/track/*"])); 964 getMessage("options_customFilters_edit_placeholder", ["/ads/track/*"]));
965 965
966 // Help tab 966 // Help tab
967 getDocLink("adblock_plus_report_issue", (link) => 967 getDocLink("adblock_plus_report_issue", (link) =>
968 { 968 {
969 setLinks("report-issue", link); 969 setLinks("report-issue", link);
970 }); 970 });
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 }); 1425 });
1426 browser.runtime.sendMessage({ 1426 browser.runtime.sendMessage({
1427 type: "subscriptions.listen", 1427 type: "subscriptions.listen",
1428 filter: ["added", "disabled", "homepage", "lastDownload", "removed", 1428 filter: ["added", "disabled", "homepage", "lastDownload", "removed",
1429 "title", "downloadStatus", "downloading"] 1429 "title", "downloadStatus", "downloading"]
1430 }); 1430 });
1431 1431
1432 window.addEventListener("DOMContentLoaded", onDOMLoaded, false); 1432 window.addEventListener("DOMContentLoaded", onDOMLoaded, false);
1433 window.addEventListener("hashchange", onHashChange, false); 1433 window.addEventListener("hashchange", onHashChange, false);
1434 } 1434 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld