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

Unified Diff: lib/filterComposer.js

Issue 29569649: Issue 4580 - Replace ext.i18n with i18n (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Update adblockplusui dependency Created Oct. 10, 2017, 1 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 | « ext/popup.js ('k') | lib/filterValidation.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterComposer.js
===================================================================
--- a/lib/filterComposer.js
+++ b/lib/filterComposer.js
@@ -162,17 +162,17 @@
filters.push(docDomain.replace(/^www\./, "") + "##" + selector);
}
}
return {filters, selectors};
}
let contextMenuItem = {
- title: ext.i18n.getMessage("block_element"),
+ title: chrome.i18n.getMessage("block_element"),
contexts: ["image", "video", "audio"],
onclick(page)
{
page.sendMessage({type: "composer.content.contextMenuClicked"});
}
};
function updateContextMenu(page, filter)
« no previous file with comments | « ext/popup.js ('k') | lib/filterValidation.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld