Skip to content
Snippets Groups Projects
Commit 755d7d23 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern: Committed by richard
Browse files

fixup! Add TorStrings module for localization

Bug 42246: Migrate tor connection stuff from browser to toolkit
parent 5752d8e3
Branches
Tags
1 merge request!842Bug 42246: Migrate tor connection stuff from browser to toolkit
......@@ -151,7 +151,6 @@ EXTRA_JS_MODULES += [
"TabUnloader.jsm",
"TorConnect.sys.mjs",
"TorSettings.sys.mjs",
"TorStrings.jsm",
"TorUIUtils.sys.mjs",
"TransientPrefs.jsm",
"URILoadingHelper.sys.mjs",
......
......@@ -5,8 +5,6 @@
"use strict";
var EXPORTED_SYMBOLS = ["TorStrings"];
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { AppConstants } = ChromeUtils.import(
"resource://gre/modules/AppConstants.jsm"
......@@ -548,7 +546,7 @@ const Loader = {
} /* Rulesets */,
};
const TorStrings = {
export const TorStrings = {
get settings() {
if (!this._settings) {
this._settings = Loader.settings();
......
......@@ -213,6 +213,7 @@ EXTRA_JS_MODULES += [
"Sqlite.sys.mjs",
"SubDialog.sys.mjs",
"Timer.sys.mjs",
"TorStrings.sys.mjs",
"Troubleshoot.sys.mjs",
"UpdateUtils.sys.mjs",
"WebChannel.sys.mjs",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment