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

Unified Diff: desktop-options.js

Issue 29584714: Issue 5874 - Sync strings with the agencies translations (Closed)
Patch Set: Updated Fanboy's list tooltip description Created Oct. 23, 2017, 4:30 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « desktop-options.html ('k') | locale/en_US/common.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: desktop-options.js
===================================================================
--- a/desktop-options.js
+++ b/desktop-options.js
@@ -376,6 +376,7 @@
collections.filterLists = new Collection([
{
id: "all-filter-lists-table",
+ emptyTexts: ["options_filterList_empty"],
useOriginalTitle: true
}
]);
@@ -903,6 +904,7 @@
E("whitelisting-add-button").disabled = !e.target.value;
}, false);
+ // General tab
getDocLink("contribute", (link) =>
{
E("contribute").href = link;
@@ -920,6 +922,12 @@
setLinks("dnt", url);
});
+ // Whitelisted tab
+ getDocLink("whitelist", (link) =>
+ {
+ E("whitelist-learn-more").href = link;
+ });
+
// Advanced tab
let customize = document.querySelectorAll("#customize li[data-pref]");
customize = Array.prototype.map.call(customize, (checkbox) =>
@@ -949,7 +957,7 @@
getDocLink("subscriptions", (link) =>
{
- setLinks("filter-lists-description", link);
+ E("filter-lists-learn-more").setAttribute("href", link);
});
E("custom-filters-raw").setAttribute("placeholder",
« no previous file with comments | « desktop-options.html ('k') | locale/en_US/common.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld