Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell

This commit is contained in:
Victor Porof
2016-03-22 10:17:21 +01:00
parent e86f8dc84d
commit bfccfa9153
35 changed files with 104 additions and 66 deletions

View File

@@ -4,8 +4,9 @@
"use strict";
const { URL } = require("sdk/url");
const { L10N } = require("resource://devtools/client/shared/widgets/ViewHelpers.jsm").ViewHelpers;
const l10n = new L10N("chrome://devtools/locale/components.properties");
const { LocalizationHelper } = require("devtools/client/shared/l10n");
const l10n = new LocalizationHelper("chrome://devtools/locale/components.properties");
const UNKNOWN_SOURCE_STRING = l10n.getStr("frame.unknownSource");
// Character codes used in various parsing helper functions.