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

Unified Diff: lib/antiadblockInit.js

Issue 29388555: Issue 5014 - Fix "Hide targeted messages?" notification (Closed)
Patch Set: Created March 19, 2017, 6:27 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/antiadblockInit.js
diff --git a/lib/antiadblockInit.js b/lib/antiadblockInit.js
index e6154f3ab171c49996121319796b783250cd2851..acf33954d90d861a876e6c4f081aff4efa52b0b3 100644
--- a/lib/antiadblockInit.js
+++ b/lib/antiadblockInit.js
@@ -23,6 +23,7 @@ const {FilterStorage} = require("filterStorage");
const {FilterNotifier} = require("filterNotifier");
const {Subscription} = require("subscriptionClasses");
const {Notification} = require("notification");
+const {Utils} = require("utils");
let ext;
if (typeof window != "undefined" && window.ext)
@@ -35,8 +36,8 @@ exports.initAntiAdblockNotification = function initAntiAdblockNotification()
let notification = {
id: "antiadblock",
type: "question",
- title: ext.i18n.getMessage("notification_antiadblock_title"),
- message: ext.i18n.getMessage("notification_antiadblock_message"),
+ title: Utils.getString("notification_antiadblock_title"),
+ message: Utils.getString("notification_antiadblock_message"),
urlFilters: []
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld