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

Unified Diff: messageResponder.js

Issue 29345232: Issue 4084 - Do not use @@bidi_dir directly in adblockplusui (Closed)
Patch Set: Do not pretent to support getMessage for @@ui_locale and @@bidi_dir Created May 30, 2016, 4:59 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/common.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
diff --git a/messageResponder.js b/messageResponder.js
index dab496354b91789337171c43f9d1e73f66ca7a85..de494eef809628f4c99cd5243f2b01a3ef77ec32 100644
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -181,7 +181,7 @@
if ("chromeRegistry" in Utils)
bidiDir = Utils.chromeRegistry.isLocaleRTL("adblockplus") ? "rtl" : "ltr";
else
- bidiDir = ext.i18n.getMessage("@@bidi_dir");
+ bidiDir = Utils.readingDirection;
callback({locale: Utils.appLocale, bidiDir: bidiDir});
}
« no previous file with comments | « ext/common.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld