Skip to content
Snippets Groups Projects
Verified Commit 6cabaf33 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Add TorStrings module for localization

Bug 42246: Migrate tor connection stuff from browser to toolkit
parent c90386f0
Branches
Tags
1 merge request!849Bug 42276: Rebase alpha onto 115.5.0esr
......@@ -147,7 +147,6 @@ EXTRA_JS_MODULES += [
"SitePermissions.sys.mjs",
"TabsList.jsm",
"TabUnloader.jsm",
"TorStrings.jsm",
"TransientPrefs.jsm",
"URILoadingHelper.sys.mjs",
"webrtcUI.jsm",
......
......@@ -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();
......
......@@ -210,6 +210,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