Commit a3153791 authored by Manvel Saroyan's avatar Manvel Saroyan

Issue 5874 - Sync strings with translations from the agencies

parent a0a92d62
......@@ -155,7 +155,10 @@
<div id="content-whitelist" role="tabpanel" aria-labelledby="tab-whitelist">
<header>
<h1 class="i18n_options_tab_whitelist"></h1>
<p class="i18n_options_whitelist_description"></p>
<p>
<span class="i18n_options_whitelist_description"></span>
<a id="whitelist-learn-more" class="i18n_options_learn_more" target="_blank"></a>
</p>
</header>
<form class="section">
<input id="whitelisting-textbox" type="text">
......@@ -206,7 +209,10 @@
<section>
<header>
<h2 class="i18n_options_filterList_title"></h2>
<p id="filter-lists-description" class="i18n_options_filterList_description"></p>
<p>
<span class="i18n_options_filterList_description"></span>
<a id="filter-lists-learn-more" class="i18n_options_learn_more" target="_blank"></a>
</p>
</header>
<div id="all-filter-lists-table-header" class="th">
......@@ -247,7 +253,7 @@
<a class="i18n_options_filterList_source source" target="_blank"></a>
</li>
<li role="menuitem">
<button class="i18n_options_filterList_delete delete" data-action="remove-subscription"></button>
<button class="i18n_options_control_remove_title delete" data-action="remove-subscription"></button>
</li>
</ul>
</div>
......
......@@ -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",
......
......@@ -9,10 +9,10 @@
},
"common_feature_privacy_title": {
"description": "Feature title for privacy filter list",
"message": "Disable Tracking"
"message": "Block additional tracking"
},
"common_feature_social_title": {
"description": "Feature title for social media blocking filter list",
"message": "Remove Social Media Buttons"
"message": "Block social media icons tracking"
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment