Commit 28cc1e56 by Pablo Correa Committed by Ruben Rodriguez

Replaced strings in onboarding.properties

parent 3b4c570a
......@@ -40,8 +40,8 @@ class Onboarding {
"javascript.enabled": {
type: "boolean",
name: "javascript.enabled",
label: "Disable JavaScript",
description: "Disabling Javascript greatly improves privacy, security and <a href=\"https://www.gnu.org/philosophy/javascript-trap.html\">freedom</a>, but it will break many sites.",
label: bundle.GetStringFromName("onboarding.disable-javascript.title"),
description: bundle.GetStringFromName("onboarding.disable-javascript.description"),
defaultvalue: true,
onvalue: false,
offvalue: true,
......@@ -49,8 +49,8 @@ class Onboarding {
"browser.display.use_document_fonts": {
type: "integer",
name: "browser.display.use_document_fonts",
label: "Do not load custom fonts",
description: "Custom fonts can be used for <a href=\"https://en.wikipedia.org/wiki/Device_fingerprint\">fingerprinting</a>. Disabling them improves privacy but may make some sites look wrong.",
label: bundle.GetStringFromName("onboarding.custom-fonts.title"),
description: bundle.GetStringFromName("onboarding.custom-fonts.description"),
defaultvalue: 1,
onvalue: 0,
offvalue: 1,
......@@ -58,8 +58,8 @@ class Onboarding {
"browser.safebrowsing.provider.mozilla.updateURL": {
type: "string",
name: "browser.safebrowsing.provider.mozilla.updateURL",
label: "Tracking protection",
description: "Tracking is the collection of your browsing data across multiple websites. Enabling this feature improves privacy, but will regullarly connect to the Internet to fetch updates to the filters.",
label: bundle.GetStringFromName("onboarding.tracking-protection.title"),
description: bundle.GetStringFromName("onboarding.tracking-protection.description"),
defaultvalue: "",
onvalue: "https://shavar.services.mozilla.com/downloads?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2",
offvalue: "",
......@@ -67,8 +67,8 @@ class Onboarding {
"privacy.firstparty.isolate": {
type: "boolean",
name: "privacy.firstparty.isolate",
label: "Isolate requests to First Party domains",
description: "This <a href=\"https://www.torproject.org/projects/torbrowser/design/#identifier-linkability\">improves privacy</a>, but it may interfere with login into some sites.",
label: bundle.GetStringFromName("onboarding.isolate-request-first-party.title"),
description: bundle.GetStringFromName("onboarding.isolate-request-first-party.description"),
defaultvalue: false,
onvalue: true,
offvalue: false,
......@@ -76,8 +76,8 @@ class Onboarding {
"extensions.update.enabled": {
type: "boolean",
name: "extensions.update.enabled",
label: "Automatically update extensions",
description: "Enabling automated updates is good for security, but would start Internet connections in the background.",
label: bundle.GetStringFromName("onboarding.auto-update-extensions.title"),
description: bundle.GetStringFromName("onboarding.auto-update-extensions.description"),
defaultvalue: false,
onvalue: true,
offvalue: false,
......@@ -85,8 +85,8 @@ class Onboarding {
"network.http.referer.spoofSource": {
type: "boolean",
name: "network.http.referer.spoofSource",
label: "Spoof Referers",
description: "<a href=\"https://en.wikipedia.org/wiki/HTTP_referer\">Referers</a> tell sites what link brought you there. This feature greatly improves your privacy, but it may break functionality on some sites.",
label: bundle.GetStringFromName("onboarding.spoof-referers.title"),
description: bundle.GetStringFromName("onboarding.spoof-referers.description"),
defaultvalue: true,
onvalue: true,
offvalue: false,
......@@ -94,8 +94,8 @@ class Onboarding {
"captivedetect.canonicalURL": {
type: "string",
name: "captivedetect.canonicalURL",
label: "Detect captive portal",
description: "<a href=\"https://en.wikipedia.org/wiki/Captive_portal\">Captive portals</a> are the sites that control access to public wireless networks in hotels, airports, cafes, etc. The detection service is useful if you connect to such netwoks, but it will start connections automatically.",
label: bundle.GetStringFromName("onboarding.detect-captative-portal.title"),
description: bundle.GetStringFromName("onboarding.detect-captative-portal.description"),
defaultvalue: "",
onvalue: "http://detectportal.firefox.com/success.txt",
offvalue: "",
......@@ -103,8 +103,8 @@ class Onboarding {
"browser.search.geoip.url": {
type: "string",
name: "browser.search.geoip.url",
label: "Enable Geolocation",
description: "This is commonly used for maps, weather sites, and some stores. It is better to keep it off unless you really need it.",
label: bundle.GetStringFromName("onboarding.geolocation.title"),
description: bundle.GetStringFromName("onboarding.geolocation.description"),
defaultvalue: "",
onvalue: "https://location.services.mozilla.com/v1/country?key=%MOZILLA_API_KEY%",
offvalue: ""
......@@ -113,8 +113,8 @@ class Onboarding {
"webgl.disabled": {
type: "boolean",
name: "webgl.disabled",
label: "Enable WebGL",
description: "Needed to visualize 3D graphics, but it may expose you to security threats. Enable it only if you really use it.",
label: bundle.GetStringFromName("onboarding.webgl.title"),
description: bundle.GetStringFromName("onboarding.webgl.description"),
defaultvalue: true,
onvalue: false,
offvalue: true
......@@ -199,8 +199,8 @@ class Onboarding {
color:#4A4A4F;
`;
let title = this._window.document.createElement("div");
title.innerHTML=`<h2 style="margin:10px 0 5px; font-size:20px">Privacy settings</h2>
<p style="font-size:14px">These options allow you to tune important aspects of the browser's behavior so you can choose the balance between practicality and privacy that fits your needs. Changes to these settings apply to all existing tabs and windows (but you may need to reload them for the changes to show on them).</p>
title.innerHTML=`<h2 style="margin:10px 0 5px; font-size:20px">bundle.GetStringFromName("onboarding.privacy-settings.title")</h2>
<p style="font-size:14px">bundle.GetStringFromName("These options allow you to tune important aspects of the browser's behavior so you can choose the balance between practicality and privacy that fits your needs. Changes to these settings apply to all existing tabs and windows (but you may need to reload them for the changes to show on them).")</p>
`;
main.insertBefore(settingsblock, main.childNodes[0]);
settingsblock.appendChild(title);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment