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

Unified Diff: lib/antiadblockInit.js

Issue 29388605: Issue 5014 - Backport "Hide targeted messages?" fix for 144b2198215e (Closed)
Patch Set: Created March 19, 2017, 7 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 ac9ef424ab902bf0c3c18a0e0771a6b840d7a429..73a07184bc81c8e55c3ab8fc54adf17f55f11f2c 100644
--- a/lib/antiadblockInit.js
+++ b/lib/antiadblockInit.js
@@ -30,8 +30,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