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: Created Oct. 20, 2017, 9:10 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
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
}
]);
@@ -883,6 +884,7 @@
E("whitelisting-add-button").disabled = !e.target.value;
}, false);
+ // General tab
getDocLink("contribute", (link) =>
{
E("contribute").href = link;
@@ -896,6 +898,12 @@
setLinks("dnt", url);
});
+ // Whitelisted tab
+ getDocLink("whitelist", (link) =>
+ {
+ setLinks("whitelist-description", link);
+ });
+
// Advanced tab
let customize = document.querySelectorAll("#customize li[data-pref]");
customize = Array.prototype.map.call(customize, (checkbox) =>
« desktop-options.html ('K') | « desktop-options.html ('k') | locale/en_US/common.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld