mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
211 lines
10 KiB
Diff
211 lines
10 KiB
Diff
diff --git a/browser/components/preferences/jar.mn b/browser/components/preferences/jar.mn
|
|
index 2131a15ceef7..0b97dc14b42e 100644
|
|
--- a/browser/components/preferences/jar.mn
|
|
+++ b/browser/components/preferences/jar.mn
|
|
@@ -11,6 +11,7 @@ browser.jar:
|
|
content/browser/preferences/home.js
|
|
content/browser/preferences/search.js
|
|
content/browser/preferences/privacy.js
|
|
+ content/browser/preferences/librewolf.js
|
|
content/browser/preferences/containers.js
|
|
content/browser/preferences/sync.js
|
|
content/browser/preferences/experimental.js
|
|
diff --git a/browser/components/preferences/preferences.js b/browser/components/preferences/preferences.js
|
|
index 19dda7cf39eb..f5e67b637b49 100644
|
|
--- a/browser/components/preferences/preferences.js
|
|
+++ b/browser/components/preferences/preferences.js
|
|
@@ -8,6 +8,7 @@
|
|
/* import-globals-from search.js */
|
|
/* import-globals-from containers.js */
|
|
/* import-globals-from privacy.js */
|
|
+/* import-globals-from librewolf.js */
|
|
/* import-globals-from sync.js */
|
|
/* import-globals-from experimental.js */
|
|
/* import-globals-from moreFromMozilla.js */
|
|
@@ -196,6 +197,7 @@ function init_all() {
|
|
register_module("paneHome", gHomePane);
|
|
register_module("paneSearch", gSearchPane);
|
|
register_module("panePrivacy", gPrivacyPane);
|
|
+ register_module("paneLibrewolf", gLibrewolfPane);
|
|
register_module("paneContainers", gContainersPane);
|
|
if (Services.prefs.getBoolPref("browser.preferences.experimental")) {
|
|
// Set hidden based on previous load's hidden value.
|
|
diff --git a/browser/components/preferences/preferences.xhtml b/browser/components/preferences/preferences.xhtml
|
|
index 6ee14eec9b2e..a0d768dce307 100644
|
|
--- a/browser/components/preferences/preferences.xhtml
|
|
+++ b/browser/components/preferences/preferences.xhtml
|
|
@@ -13,6 +13,7 @@
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/search.css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/containers.css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/privacy.css"?>
|
|
+<?xml-stylesheet href="chrome://browser/skin/preferences/librewolf.css"?>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
@@ -129,6 +130,17 @@
|
|
<label class="category-name" flex="1" data-l10n-id="pane-privacy-title"></label>
|
|
</richlistitem>
|
|
|
|
+ <richlistitem id="category-librewolf"
|
|
+ class="category"
|
|
+ value="paneLibrewolf"
|
|
+ helpTopic="prefs-librewolf"
|
|
+ data-l10n-id="category-librewolf"
|
|
+ data-l10n-attrs="tooltiptext"
|
|
+ align="center">
|
|
+ <image class="category-icon"/>
|
|
+ <label class="category-name" flex="1" data-l10n-id="pane-librewolf-title"></label>
|
|
+ </richlistitem>
|
|
+
|
|
<richlistitem id="category-sync"
|
|
class="category"
|
|
hidden="true"
|
|
@@ -207,6 +219,7 @@
|
|
#include home.inc.xhtml
|
|
#include search.inc.xhtml
|
|
#include privacy.inc.xhtml
|
|
+#include librewolf.inc.xhtml
|
|
#include containers.inc.xhtml
|
|
#include sync.inc.xhtml
|
|
#include experimental.inc.xhtml
|
|
diff --git a/browser/locales/en-US/browser/preferences/preferences.ftl b/browser/locales/en-US/browser/preferences/preferences.ftl
|
|
index a1e414697e71..8eeb594ca17d 100644
|
|
--- a/browser/locales/en-US/browser/preferences/preferences.ftl
|
|
+++ b/browser/locales/en-US/browser/preferences/preferences.ftl
|
|
@@ -1420,3 +1420,98 @@ httpsonly-radio-disabled =
|
|
desktop-folder-name = Desktop
|
|
downloads-folder-name = Downloads
|
|
choose-download-folder-title = Choose Download Folder:
|
|
+
|
|
+# Variables:
|
|
+# $service-name (String) - Name of a cloud storage provider like Dropbox, Google Drive, etc...
|
|
+save-files-to-cloud-storage =
|
|
+ .label = Save files to { $service-name }
|
|
+
|
|
+## LibreWolf preferences
|
|
+
|
|
+# Sidebar
|
|
+pane-librewolf-title = LibreWolf
|
|
+category-librewolf =
|
|
+ .tooltiptext = about:config changes, logically grouped and easily accessible
|
|
+
|
|
+# Main content
|
|
+librewolf-header = LibreWolf Preferences
|
|
+librewolf-warning-title = Heads up!
|
|
+librewolf-warning-description = We carefully choose default settings to focus on privacy and security. When changing these settings, read the descriptions to understand the implications of those changes.
|
|
+
|
|
+# Page Layout
|
|
+librewolf-general-heading = Browser Behavior
|
|
+librewolf-extension-update-checkbox =
|
|
+ .label = Update add-ons automatically
|
|
+librewolf-sync-checkbox =
|
|
+ .label = Enable Firefox Sync
|
|
+librewolf-autocopy-checkbox =
|
|
+ .label = Enable middle click paste
|
|
+librewolf-styling-checkbox =
|
|
+ .label = Allow userChrome.css customization
|
|
+
|
|
+librewolf-network-heading = Networking
|
|
+librewolf-ipv6-checkbox =
|
|
+ .label = Enable IPv6
|
|
+
|
|
+librewolf-privacy-heading = Privacy
|
|
+librewolf-xorigin-ref-checkbox =
|
|
+ .label = Limit cross-origin referrers
|
|
+
|
|
+librewolf-broken-heading = Fingerprinting
|
|
+librewolf-webgl-checkbox =
|
|
+ .label = Enable WebGL
|
|
+librewolf-rfp-checkbox =
|
|
+ .label = Enable ResistFingerprinting
|
|
+librewolf-auto-decline-canvas-checkbox =
|
|
+ .label = Silently block canvas access requests
|
|
+librewolf-letterboxing-checkbox =
|
|
+ .label = Enable letterboxing
|
|
+
|
|
+librewolf-security-heading = Security
|
|
+librewolf-ocsp-checkbox =
|
|
+ .label = Enforce OCSP hard-fail
|
|
+librewolf-goog-safe-checkbox =
|
|
+ .label = Enable Google Safe Browsing
|
|
+librewolf-goog-safe-download-checkbox =
|
|
+ .label = Scan downloads
|
|
+
|
|
+# In-depth descriptions
|
|
+librewolf-extension-update-description = Keep extensions up to date without manual intervention. A good choice for your security.
|
|
+librewolf-extension-update-warning1 = If you don't review the code of your extensions before every update, you should enable this option.
|
|
+
|
|
+librewolf-ipv6-description = Allow { -brand-short-name } to connect using IPv6.
|
|
+librewolf-ipv6-warning1 = Instead of blocking IPv6 in the browser, we suggest enabling the IPv6 privacy extension in your OS.
|
|
+librewolf-ocsp-description = Prevent connecting to a website if the OCSP check cannot be performed.
|
|
+librewolf-ocsp-warning1 = This increases security, but it will cause breakage when an OCSP server is down.
|
|
+librewolf-sync-description = Sync your data with other browsers. Requires restart.
|
|
+librewolf-sync-warning1 = Firefox Sync encrypts data locally before transmitting it to the server.
|
|
+
|
|
+librewolf-autocopy-description = Select some text to copy it, then paste it with a middle-mouse click.
|
|
+
|
|
+librewolf-styling-description = Enable this if you want to customize the UI with a manually loaded theme.
|
|
+librewolf-styling-warning1 = Make sure you trust the provider of the theme.
|
|
+
|
|
+librewolf-xorigin-ref-description = Send a referrer only on same-origin.
|
|
+librewolf-xorigin-ref-warning1 = This causes breakage. Additionally, even when sent referrers will still be trimmed.
|
|
+
|
|
+librewolf-webgl-description = WebGL is a strong fingerprinting vector.
|
|
+librewolf-webgl-warning1 = If you need to enable it, consider using an extension like Canvas Blocker.
|
|
+
|
|
+librewolf-rfp-description = ResistFingerprinting is the best in class anti-fingerprinting tool.
|
|
+librewolf-rfp-warning1 = If you need to disable it, consider using an extension like Canvas Blocker.
|
|
+
|
|
+librewolf-auto-decline-canvas-description = Automatically deny canvas access to websites, without prompting the user.
|
|
+librewolf-auto-decline-canvas-warning1 = It is still possible to allow canvas access from the urlbar.
|
|
+
|
|
+librewolf-letterboxing-description = Letterboxing applies margins around your windows, in order to return a limited set of rounded resolutions.
|
|
+
|
|
+librewolf-goog-safe-description = If you are worried about malware and phishing, consider enabling it.
|
|
+librewolf-goog-safe-warning1 = Disabled over censorship concerns but recommended for less advanced users. All the checks happen locally.
|
|
+
|
|
+librewolf-goog-safe-download-description = Allow Safe Browsing to scan your downloads to identify suspicious files.
|
|
+librewolf-goog-safe-download-warning1 = All the checks happen locally.
|
|
+
|
|
+# Footer
|
|
+librewolf-footer = Useful links
|
|
+librewolf-config-link = All advanced settings (about:config)
|
|
+librewolf-open-profile = Open user profile directory
|
|
diff --git a/browser/themes/shared/jar.inc.mn b/browser/themes/shared/jar.inc.mn
|
|
index 146764d56081..52326c00bdfe 100644
|
|
--- a/browser/themes/shared/jar.inc.mn
|
|
+++ b/browser/themes/shared/jar.inc.mn
|
|
@@ -108,6 +108,7 @@
|
|
skin/classic/browser/preferences/android-menu.svg (../shared/preferences/android-menu.svg)
|
|
skin/classic/browser/preferences/category-general.svg (../shared/preferences/category-general.svg)
|
|
skin/classic/browser/preferences/category-privacy-security.svg (../shared/preferences/category-privacy-security.svg)
|
|
+ skin/classic/browser/preferences/category-librewolf.svg (../shared/preferences/category-librewolf.svg)
|
|
skin/classic/browser/preferences/category-search.svg (../shared/preferences/category-search.svg)
|
|
skin/classic/browser/preferences/category-sync.svg (../shared/preferences/category-sync.svg)
|
|
skin/classic/browser/preferences/containers.css (../shared/preferences/containers.css)
|
|
@@ -127,6 +128,7 @@
|
|
skin/classic/browser/preferences/vpn-logo.svg (../shared/preferences/vpn-logo.svg)
|
|
skin/classic/browser/preferences/search.css (../shared/preferences/search.css)
|
|
skin/classic/browser/preferences/siteDataSettings.css (../shared/preferences/siteDataSettings.css)
|
|
+ skin/classic/browser/preferences/librewolf.css (../shared/preferences/librewolf.css)
|
|
skin/classic/browser/translations/panel.css (../shared/translations/panel.css)
|
|
skin/classic/browser/fxa/fxa-spinner.svg (../shared/fxa/fxa-spinner.svg)
|
|
skin/classic/browser/fxa/sync-illustration.svg (../shared/fxa/sync-illustration.svg)
|
|
diff --git a/browser/themes/shared/preferences/preferences.css b/browser/themes/shared/preferences/preferences.css
|
|
index 1968b68a1245..d0da141868e2 100644
|
|
--- a/browser/themes/shared/preferences/preferences.css
|
|
+++ b/browser/themes/shared/preferences/preferences.css
|
|
@@ -206,6 +206,10 @@ checkbox {
|
|
list-style-image: url("chrome://browser/skin/preferences/category-privacy-security.svg");
|
|
}
|
|
|
|
+#category-librewolf > .category-icon {
|
|
+ list-style-image: url("chrome://browser/skin/preferences/category-librewolf.svg");
|
|
+}
|
|
+
|
|
#category-sync > .category-icon {
|
|
list-style-image: url("chrome://browser/skin/preferences/category-sync.svg");
|
|
}
|
|
--
|
|
2.37.3
|
|
|