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

Unified Diff: desktop-options.js

Issue 29569659: Issue 4580 - Replace ext.i18n.getMessage with i18n.getMessage (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Rebase Created Oct. 9, 2017, 5:19 a.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 | « background.js ('k') | ext/common.js » ('j') | ext/common.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: desktop-options.js
===================================================================
--- a/desktop-options.js
+++ b/desktop-options.js
@@ -22,17 +22,17 @@
{
let subscriptionsMap = Object.create(null);
let filtersMap = Object.create(null);
let collections = Object.create(null);
let acceptableAdsUrl = null;
let acceptableAdsPrivacyUrl = null;
let isCustomFiltersLoaded = false;
- let {getMessage} = ext.i18n;
+ let {getMessage} = chrome.i18n;
let customFilters = [];
let filterErrors = new Map([
["synchronize_invalid_url",
"options_filterList_lastDownload_invalidURL"],
["synchronize_connection_error",
"options_filterList_lastDownload_connectionError"],
["synchronize_invalid_data",
"options_filterList_lastDownload_invalidData"],
« no previous file with comments | « background.js ('k') | ext/common.js » ('j') | ext/common.js » ('J')

Powered by Google App Engine
This is Rietveld