From 357e4d94b9f72c44f6d2444d7a254d804a8d3ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Fri, 11 Oct 2024 22:28:01 +0200 Subject: [PATCH] Use LibreWolf-specific translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://codeberg.org/librewolf/issues/issues/2043 Squashed commit of the following: commit 81aac9163357bb57f0a227ceb2848232d9ee7b70 Author: Ricky-Tigg Date: Tue Oct 8 09:34:25 2024 +0000 Translated using Weblate (Finnish) Currently translated at 100.0% (3 of 3 strings) Translation: LibreWolf/browser/translations Translate-URL: https://translate.codeberg.org/projects/librewolf/browsertranslations/fi/ commit c6aee11b4e91b623e88d1c516ef9ba76467ebe5f Author: Ricky-Tigg Date: Tue Oct 8 09:37:09 2024 +0000 Translated using Weblate (Finnish) Currently translated at 100.0% (7 of 7 strings) Translation: LibreWolf/toolkit/branding/brandings Translate-URL: https://translate.codeberg.org/projects/librewolf/toolkitbrandingbrandings/fi/ commit c18e4cdd0e805e415665eec8916a6643df2b4769 Author: Ricky-Tigg Date: Tue Oct 8 09:32:12 2024 +0000 Added translation using Weblate (Finnish) commit 20ea70ee26de43f35f04468680bc2584a48026a8 Author: Ricky-Tigg Date: Tue Oct 8 09:31:49 2024 +0000 Added translation using Weblate (Finnish) commit c98722de01bd59a86a4e0c04727d51cde7356b43 Author: Benny Date: Sun Oct 6 19:23:30 2024 +0000 Translated using Weblate (German) Currently translated at 14.0% (7 of 50 strings) Translation: LibreWolf/browser/preferences/preferences Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/de/ commit 9ba6e88056651491439c6c28ab2ad3bd83d3e122 Author: Malte Jürgens Date: Sun Oct 6 17:49:12 2024 +0200 Fix l10n paths commit cae2630523562082de4d09da61dbf1292c129e7a Author: maltejur Date: Sun Oct 6 14:14:05 2024 +0000 Translated using Weblate (German) Currently translated at 100.0% (7 of 7 strings) Translation: LibreWolf/toolkit/branding/brandings Translate-URL: https://translate.codeberg.org/projects/librewolf/toolkitbrandingbrandings/de/ commit 6e91dfdec256f5e1330ac255e5abbb4f433142f3 Author: maltejur Date: Sun Oct 6 14:12:08 2024 +0000 Translated using Weblate (German) Currently translated at 28.5% (2 of 7 strings) Translation: LibreWolf/toolkit/branding/brandings Translate-URL: https://translate.codeberg.org/projects/librewolf/toolkitbrandingbrandings/de/ commit 5230f7b9d618aae3113d0e6be4d29cc5d7dbe796 Author: Malte Jürgens Date: Sun Oct 6 16:13:13 2024 +0200 Rename Firefox View commit 1f74c5cf9964a642c2d80a9748a81c6bd1c7dcb8 Author: maltejur Date: Sun Oct 6 14:11:46 2024 +0000 Added translation using Weblate (German) commit 65017ab26785b0e976a978689077b07d254539e5 Author: diivu Date: Sun Oct 6 07:29:07 2024 +0000 Translated using Weblate (Finnish) Currently translated at 88.0% (44 of 50 strings) Translation: LibreWolf/browser/preferences/preferences Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/fi/ commit da88f487ac5b67bb87e2c11545f592affbd3b756 Author: Benny Date: Sun Oct 6 12:44:06 2024 +0000 Translated using Weblate (German) Currently translated at 12.0% (6 of 50 strings) Translation: LibreWolf/browser/preferences/preferences Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/de/ commit 8cc562f87a8c50032067b378b6e4581406623c40 Author: Malte Jürgens Date: Sun Oct 6 15:58:48 2024 +0200 Fix l10n folder structure commit a287b0ff64598e3a3060b799631e106849fd90b9 Author: Malte Jürgens Date: Sun Oct 6 15:25:49 2024 +0200 Move some patches to brandings.ftl commit 66263ed41239d5c6b8f5f8c18b9d9b3ab9e60ca2 Merge: 0aaa908 0fb44c4 Author: Malte Jürgens Date: Sun Oct 6 14:37:18 2024 +0200 Merge remote-tracking branch 'origin/main' into l10n commit 0aaa90890faba69f5ea2a42ab9b5df597b7287fc Author: Malte Jürgens Date: Sun Oct 6 14:37:08 2024 +0200 Fix appstrings.properties commit 376b65bbb1f6ccc77b9f5167e18f31995ca01f8a Author: diivu Date: Sun Oct 6 07:24:56 2024 +0000 Added translation using Weblate (Finnish) commit 963c276a2429a6d1358368527b92c594a94e51d3 Author: Malte Jürgens Date: Sun Sep 29 14:45:36 2024 +0200 Use wget in l10n script for consistency commit d0e0ef07694478f03e77d069252a0a49feb95f55 Author: kratos Date: Fri Sep 27 14:01:32 2024 +0000 Translated using Weblate (Hungarian) Currently translated at 100.0% (3 of 3 strings) Translation: LibreWolf/browser/translations Translate-URL: https://translate.codeberg.org/projects/librewolf/browsertranslations/hu/ commit db529f8ce12aa35e2a97217b59ef56f1668d9ee9 Author: kratos Date: Fri Sep 27 14:01:01 2024 +0000 Added translation using Weblate (Hungarian) commit a9fb722578982e029a45f0348117c51da0926615 Author: kratos Date: Fri Sep 27 13:51:48 2024 +0000 Translated using Weblate (Hungarian) Currently translated at 100.0% (50 of 50 strings) Translation: LibreWolf/browser/preferences/preferences Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/hu/ commit a54b7cdb5e930bc5b9cbadbc28e6b9a596c2da7f Author: Umeaman Date: Wed Sep 25 23:36:20 2024 +0000 Translated using Weblate (Swedish) Currently translated at 10.0% (5 of 50 strings) Translation: LibreWolf/browser/preferences/preferences Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/sv/ commit 555586291daa8ace98de173a5679b2bc1361ebf6 Author: Umeaman Date: Wed Sep 25 23:36:02 2024 +0000 Added translation using Weblate (Swedish) commit 65662b49a5ec3f92baec876aa5be7c2e99f68c54 Author: kratos Date: Mon Sep 23 18:23:02 2024 +0000 Translated using Weblate (Hungarian) Currently translated at 16.0% (8 of 50 strings) Translation: LibreWolf/browser/preferences/preferences Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/hu/ commit 1460588363762f6882d1352f8d7038b0bca273bb Author: kratos Date: Mon Sep 23 18:22:00 2024 +0000 Added translation using Weblate (Hungarian) commit 78667d9c9c831ed92cf2ede96694a88948531385 Author: maltejur Date: Thu Sep 19 15:54:14 2024 +0000 Translated using Weblate (German) Currently translated at 10.0% (5 of 50 strings) Translation: LibreWolf/browser/preferences/preferences Translate-URL: https://translate.codeberg.org/projects/librewolf/browserpreferencespreferences/de/ commit dc948492ef27cced9a670916feddfd56125cc5a2 Author: Malte Juergens Date: Thu Sep 19 17:50:18 2024 +0200 Remove appstrings.properties override commit b92da6c9b6fedd85e4f84f9614cee16660e9f288 Author: Malte Juergens Date: Thu Sep 19 17:49:49 2024 +0200 Use dashes in language codes commit b49b4b166103aeefd72cc786fd9b5f96c34c0c5b Author: Malte Juergens Date: Thu Sep 19 17:42:01 2024 +0200 Fix syntax error in old python version commit eed271897f903d65891bf6ebd69c13501c2afc31 Author: Malte Juergens Date: Wed Sep 18 01:44:57 2024 +0200 Make lw translations work commit f8c5b9e264da73e0a431d3a750984c865b2df63f Author: Allan Nordhøy Date: Mon Sep 16 10:31:25 2024 +0000 Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (3 of 3 strings) Translation: LibreWolf/browser/translations.ftl Translate-URL: https://hosted.weblate.org/projects/librewolf/browsertranslationsftl/nb_NO/ commit 4accda62a17f2b6b808f2c01366bb4450c83815a Author: Allan Nordhøy Date: Mon Sep 16 10:43:25 2024 +0000 Translated using Weblate (German) Currently translated at 8.0% (4 of 50 strings) Translation: LibreWolf/browser/preferences/preferences.ftl Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/de/ commit e09583f951a57cf22b88d88dad3e5bc8eff27c58 Author: Allan Nordhøy Date: Mon Sep 16 10:43:41 2024 +0000 Translated using Weblate (French) Currently translated at 98.0% (49 of 50 strings) Translation: LibreWolf/browser/preferences/preferences.ftl Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/fr/ commit 08bebb1a5ce1c207fbdd3f891e4f8ee6161268f2 Author: Allan Nordhøy Date: Mon Sep 16 10:43:41 2024 +0000 Translated using Weblate (English (United States)) Currently translated at 100.0% (50 of 50 strings) Translation: LibreWolf/browser/preferences/preferences.ftl Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/en_US/ commit b07795c1464f097ffa44d1ac57f4447b939db610 Author: Allan Nordhøy Date: Sun Sep 15 11:59:46 2024 +0200 Added translation using Weblate (Norwegian Bokmål) commit c67532071fa735799316a6d1df36f9148bf39776 Author: Malte Jürgens Date: Fri Sep 13 23:02:08 2024 +0000 Translated using Weblate (French) Currently translated at 66.6% (2 of 3 strings) Translation: LibreWolf/browser/translations.ftl Translate-URL: https://hosted.weblate.org/projects/librewolf/browsertranslationsftl/fr/ commit 9b19745b7c3d3b07235a1d889ceb3ce0f889d345 Author: Malte Jürgens Date: Sat Sep 14 01:01:08 2024 +0200 Added translation using Weblate (French) commit a51d08cc038ea5a8c1dd433bdfe61f191a9f6633 Author: Malte Jürgens Date: Sat Sep 14 00:59:14 2024 +0200 Deleted translation using Weblate (French) commit 8f5cdd20b59e901557e8fdb413497d7aa1117ccd Author: Malte Jürgens Date: Sat Sep 14 00:58:35 2024 +0200 Added translation using Weblate (French) commit 0a827abfd6f31faf2e95801b6967e0446e06f7c4 Author: Malte Juergens Date: Sat Sep 14 00:57:29 2024 +0200 Move translations patches/fullpage-translations-customization.patch into own *.ftl file commit dcd910c67239cd3205df1f224f828ee02788597b Author: Malte Jürgens Date: Fri Sep 13 22:34:22 2024 +0000 Translated using Weblate (German) Currently translated at 6.0% (3 of 50 strings) Translation: LibreWolf/browser/preferences/preferences.ftl Translate-URL: https://hosted.weblate.org/projects/librewolf/browserpreferencespreferencesftl/de/ commit 31851a6026002dce4ad144e042da640cb8ad8e8f Author: Malte Jürgens Date: Sat Sep 14 00:33:16 2024 +0200 Added translation using Weblate (German) commit bc3d69571180f8f80ac18a3c1516097239533646 Author: Malte Juergens Date: Fri Sep 13 23:21:29 2024 +0200 Add French pref-pane Translations provided by @Acideburn Co-authored-by: Acideburn commit 3072c26e4fe6cad8a1b014e0bb321a53f245d61d Author: Malte Juergens Date: Tue Sep 10 16:52:58 2024 +0200 Allow translation of LW strings --- assets/mozconfig.new | 2 +- assets/mozconfig.new.without-bootstrap | 2 +- assets/patches.txt | 2 - .../preferences}/preferences.ftl | 4 +- l10n/README.md | 0 .../browser/preferences/preferences.inc.ftl | 9 +++ l10n/de/toolkit/branding/brandings.ftl | 7 ++ .../browser/preferences/preferences.inc.ftl | 71 +++++++++++++++++++ l10n/en-US/browser/translations.inc.ftl | 7 ++ l10n/en-US/toolkit/branding/brandings.ftl | 7 ++ .../browser/preferences/preferences.inc.ftl | 64 +++++++++++++++++ l10n/fi/browser/translations.inc.ftl | 6 ++ l10n/fi/toolkit/branding/brandings.ftl | 7 ++ .../browser/preferences/preferences.inc.ftl | 71 +++++++++++++++++++ l10n/fr/browser/translations.inc.ftl | 4 ++ .../browser/preferences/preferences.inc.ftl | 64 +++++++++++++++++ l10n/hu/browser/translations.inc.ftl | 6 ++ l10n/nb-NO/browser/translations.inc.ftl | 6 ++ .../browser/preferences/preferences.inc.ftl | 6 ++ .../fullpage-translations-customization.patch | 25 ------- patches/ui-patches/pref-naming.patch | 29 -------- .../ui-patches/remove-branding-urlbar.patch | 11 --- patches/ui-patches/rename-firefox-labs.patch | 9 --- scripts/generate-locales.sh | 13 ---- scripts/librewolf-patches.py | 55 +++++++++++--- .../chrome/overrides/appstrings.properties | 44 ------------ 26 files changed, 386 insertions(+), 145 deletions(-) rename {patches/pref-pane => browser/preferences}/preferences.ftl (97%) create mode 100644 l10n/README.md create mode 100644 l10n/de/browser/preferences/preferences.inc.ftl create mode 100644 l10n/de/toolkit/branding/brandings.ftl create mode 100644 l10n/en-US/browser/preferences/preferences.inc.ftl create mode 100644 l10n/en-US/browser/translations.inc.ftl create mode 100644 l10n/en-US/toolkit/branding/brandings.ftl create mode 100644 l10n/fi/browser/preferences/preferences.inc.ftl create mode 100644 l10n/fi/browser/translations.inc.ftl create mode 100644 l10n/fi/toolkit/branding/brandings.ftl create mode 100644 l10n/fr/browser/preferences/preferences.inc.ftl create mode 100644 l10n/fr/browser/translations.inc.ftl create mode 100644 l10n/hu/browser/preferences/preferences.inc.ftl create mode 100644 l10n/hu/browser/translations.inc.ftl create mode 100644 l10n/nb-NO/browser/translations.inc.ftl create mode 100644 l10n/sv/browser/preferences/preferences.inc.ftl delete mode 100644 patches/ui-patches/remove-branding-urlbar.patch delete mode 100644 patches/ui-patches/rename-firefox-labs.patch delete mode 100755 scripts/generate-locales.sh delete mode 100644 themes/browser/locales/en-US/chrome/overrides/appstrings.properties diff --git a/assets/mozconfig.new b/assets/mozconfig.new index 1952f10..605fb52 100644 --- a/assets/mozconfig.new +++ b/assets/mozconfig.new @@ -17,7 +17,7 @@ ac_add_options --with-branding=browser/branding/librewolf ac_add_options --with-unsigned-addon-scopes=app,system -ac_add_options --with-l10n-base=$PWD/browser/locales/l10n +ac_add_options --with-l10n-base=$PWD/lw/l10n ac_add_options --enable-bootstrap diff --git a/assets/mozconfig.new.without-bootstrap b/assets/mozconfig.new.without-bootstrap index 95c6a53..59c5e81 100644 --- a/assets/mozconfig.new.without-bootstrap +++ b/assets/mozconfig.new.without-bootstrap @@ -18,7 +18,7 @@ ac_add_options --with-branding=browser/branding/librewolf ac_add_options --with-unsigned-addon-scopes=app,system -ac_add_options --with-l10n-base=$PWD/browser/locales/l10n +ac_add_options --with-l10n-base=$PWD/lw/l10n export MOZ_REQUIRE_SIGNING= diff --git a/assets/patches.txt b/assets/patches.txt index 6cbf53b..3666c31 100644 --- a/assets/patches.txt +++ b/assets/patches.txt @@ -25,10 +25,8 @@ patches/ui-patches/hide-default-browser.patch patches/ui-patches/lw-logo-devtools.patch patches/ui-patches/pref-naming.patch patches/ui-patches/privacy-preferences.patch -patches/ui-patches/remove-branding-urlbar.patch patches/ui-patches/remove-cfrprefs.patch patches/ui-patches/remove-organization-policy-banner.patch -patches/ui-patches/rename-firefox-labs.patch patches/ui-patches/website-appearance-ui-rfp.patch patches/urlbarprovider-interventions.patch patches/windows-theming-bug.patch diff --git a/patches/pref-pane/preferences.ftl b/browser/preferences/preferences.ftl similarity index 97% rename from patches/pref-pane/preferences.ftl rename to browser/preferences/preferences.ftl index 2461a98..3ac2fc6 100644 --- a/patches/pref-pane/preferences.ftl +++ b/browser/preferences/preferences.ftl @@ -1,3 +1,5 @@ +session-restore-learn-more = What if it does not work? + ## LibreWolf preferences # Sidebar @@ -84,6 +86,6 @@ librewolf-goog-safe-download-description = Allow Safe Browsing to scan your down librewolf-goog-safe-download-warning1 = All the checks happen locally. # Footer -librewolf-footer = Useful links +librewolf-footer = Useful linkss librewolf-config-link = All advanced settings (about:config) librewolf-open-profile = Open user profile directory diff --git a/l10n/README.md b/l10n/README.md new file mode 100644 index 0000000..e69de29 diff --git a/l10n/de/browser/preferences/preferences.inc.ftl b/l10n/de/browser/preferences/preferences.inc.ftl new file mode 100644 index 0000000..bf983d2 --- /dev/null +++ b/l10n/de/browser/preferences/preferences.inc.ftl @@ -0,0 +1,9 @@ +pane-librewolf-title = LibreWolf +librewolf-header = LibreWolf Einstellungen +category-librewolf = + .tooltiptext = Änderungen in about:config, logisch gruppiert und einfach zugänglich +librewolf-security-heading = Sicherheit +librewolf-sync-checkbox = + .label = Firefox Sync aktivieren +librewolf-privacy-heading = Privatsphäre +librewolf-extension-update-description = Browsererweiterungen auf dem neusten Stand halten. Für Ihre Sicherheit empfohlen. diff --git a/l10n/de/toolkit/branding/brandings.ftl b/l10n/de/toolkit/branding/brandings.ftl new file mode 100644 index 0000000..48ec9a1 --- /dev/null +++ b/l10n/de/toolkit/branding/brandings.ftl @@ -0,0 +1,7 @@ +-firefox-suggest-brand-name = Vorschläge +-firefox-home-brand-name = Startseite +-screenshots-brand-name = Screenshots +-profiler-brand-name = Profiler +-translations-brand-name = Übersetzungen +-firefoxview-brand-name = Tab View +-firefoxlabs-brand-name = Experimentelle Features diff --git a/l10n/en-US/browser/preferences/preferences.inc.ftl b/l10n/en-US/browser/preferences/preferences.inc.ftl new file mode 100644 index 0000000..c111ec6 --- /dev/null +++ b/l10n/en-US/browser/preferences/preferences.inc.ftl @@ -0,0 +1,71 @@ +## 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 may cause 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/l10n/en-US/browser/translations.inc.ftl b/l10n/en-US/browser/translations.inc.ftl new file mode 100644 index 0000000..0fe01dd --- /dev/null +++ b/l10n/en-US/browser/translations.inc.ftl @@ -0,0 +1,7 @@ +translations-panel-disable-translations = + .label = Disable translations completely + +translations-manage-enable = + .label = Enable fullpage translations +translations-manage-autopopup = + .label = Prompt to translate pages that aren’t in the browser’s configured language diff --git a/l10n/en-US/toolkit/branding/brandings.ftl b/l10n/en-US/toolkit/branding/brandings.ftl new file mode 100644 index 0000000..8f0998b --- /dev/null +++ b/l10n/en-US/toolkit/branding/brandings.ftl @@ -0,0 +1,7 @@ +-screenshots-brand-name = Screenshots +-profiler-brand-name = Profiler +-translations-brand-name = Translations +-firefox-suggest-brand-name = Suggestions +-firefox-home-brand-name = Homepage +-firefoxview-brand-name = Tab View +-firefoxlabs-brand-name = Experimental Features diff --git a/l10n/fi/browser/preferences/preferences.inc.ftl b/l10n/fi/browser/preferences/preferences.inc.ftl new file mode 100644 index 0000000..91b9524 --- /dev/null +++ b/l10n/fi/browser/preferences/preferences.inc.ftl @@ -0,0 +1,64 @@ +librewolf-header = LibreWolf Preferenssit +librewolf-letterboxing-checkbox = + .label = Ota käyttöön selaimen laatikointi +librewolf-webgl-description = WebGL on vahva sormenjälkientunnistusmenetelmä. +librewolf-general-heading = Selaimen Käyttäytyminen +librewolf-network-heading = Verkostointi +librewolf-ocsp-checkbox = + .label = Pakota OCSP:n luja epäonnistuminen +category-librewolf = + .tooltiptext = tietoa:konfigurointimuutokset, loogisesti ryhmitetty ja helposti saatavilla +librewolf-extension-update-checkbox = + .label = Päivitä lisäosat automaattisesti +librewolf-broken-heading = Sormenjäljittäminen +librewolf-auto-decline-canvas-checkbox = + .label = Estä kanvaasin käyttöpyynnöt äännettömästi +librewolf-security-heading = Turvallisuus +librewolf-goog-safe-checkbox = + .label = Ota käyttöön Googlen Selaussuoja +librewolf-extension-update-warning1 = Jos et tutki lisäosiesi koodia jokaisen päivityksen jälkeen, silloin sinun kannattaisi ottaa tämä vaihtoehto käyttöön. +librewolf-ipv6-description = Salli { -brand-short-name } muodostaa yhteyden käyttäen IPv6:sta. +librewolf-ocsp-description = Estä verkkosivustoon yhdistäminen, jos OCSP:n tarkistusta ei voida suorittaa. +librewolf-sync-description = Synkronoi datasi toisten selainten kanssa. Vaatii uudelleenkäynnistämistä. +librewolf-sync-warning1 = Firefox Sync salaa datan paikallisesti ennen palvelimelle lähettämistä. +librewolf-styling-warning1 = Varmista, että luotat teeman tarjoajaan. +librewolf-xorigin-ref-description = Lähetä viittaja vain samasta alkuperästä. +librewolf-rfp-description = ResistFingerprinting on luokkansa paras sormenjälkitunnistuksen estotyökalu. +librewolf-rfp-warning1 = Jos sinun tarvitsee poistaa se käytöstä, harkitse laajennuksen, kuten Canvas Blockerin, käyttöä. +librewolf-auto-decline-canvas-description = Estä automaattisesti kanvaasin pääsy verkkosivustoille ilman käyttäjän kehotusta. +librewolf-goog-safe-download-description = Salli Selainsuojan skannata sinun latauksesi tunnistaakseen epäillyttävät tiedostot. +librewolf-footer = Hyödylliset linkit +librewolf-open-profile = Avaa käyttäjäprofiilin hakemisto +pane-librewolf-title = LibreWolf +librewolf-warning-title = Huomio! +librewolf-ipv6-checkbox = + .label = Ota käyttöön IPv6 +librewolf-webgl-checkbox = + .label = Ota käyttöön WebGL +librewolf-warning-description = Valitsemme oletusasetukset huolellisesti keskittyäksemme yksityisyyteen ja turvallisuuteen. Kun teet muutoksia näihin asetuksiin, lue kuvaukset, jotta ymmärrät muutoksiesi merkityksen. +librewolf-sync-checkbox = + .label = Ota käyttöön Firefox Sync +librewolf-autocopy-checkbox = + .label = Ota käyttöön hiiren keskipainikkeella liittäminen +librewolf-styling-checkbox = + .label = Salli userChrome.css.customization +librewolf-privacy-heading = Yksityisyys +librewolf-xorigin-ref-checkbox = + .label = Limit cross-origin lähettäjät +librewolf-rfp-checkbox = + .label = Ota käyttöön Sormejälityksenvastus +librewolf-goog-safe-download-checkbox = + .label = Skannaa lataukset +librewolf-styling-description = Ota tämä käyttöön, mikäli haluat kustomoida käyttöliittymää manuaalisesti ladatulla teemalla. +librewolf-extension-update-description = Päivitä lisäosat ilman manuaalista väliintuloa. Hyvä valinta turvallisuutesi kannalta. +librewolf-webgl-warning1 = Jos sinun tarvitsee ottaa se käyttöön, harkitse laajennuksen, kuten Canvas Blockerin, käyttöä. +librewolf-ipv6-warning1 = Sen sijaan, että IPv6 estettäisiin selaimessa, me suosittelemme, että otat IPv6 yksityisyys lisäosan käyttöön omassa käyttöjärjestelmässäsi. +librewolf-ocsp-warning1 = Tämä parantaa turvallisuutta, mutta aiheuttaa ongelmia, kun OCSP-palvelin on alhaalla. +librewolf-autocopy-description = Valitse teksti kopioidaksesi se, ja liitä se hiiren keskipainalluksella. +librewolf-xorigin-ref-warning1 = Tämä voi aiheuttaa ongelmia. Lisäksi, vaikka viittajat lähetetään, ne silti rajataan. +librewolf-goog-safe-warning1 = Pois käytöstä sensuuri huolien takia, mutta suositeltu vähemmän edistyneille käyttäjille. Kaikki tarkistukset tapahtuvat paikalliseti. +librewolf-auto-decline-canvas-warning1 = On edelleen mahdollista sallia canvasin käyttö url-palkista. +librewolf-letterboxing-description = Letterboxing lisää marginaalit ikkunoidesi ympärille, jotta se voi palauttaa rajoitetun joukon pyöristettyjä resoluutioita. +librewolf-goog-safe-description = Jos olet huolissasi haittaohjelmista ja tietojenkalastuksesta, harkitse sen käyttöön ottamista. +librewolf-goog-safe-download-warning1 = Kaikki tarkistukset tapahtuvat paikallisesti. +librewolf-config-link = Kaikki kehittyneet asetukset (tietoa:konfigurointi) diff --git a/l10n/fi/browser/translations.inc.ftl b/l10n/fi/browser/translations.inc.ftl new file mode 100644 index 0000000..1982a2f --- /dev/null +++ b/l10n/fi/browser/translations.inc.ftl @@ -0,0 +1,6 @@ +translations-panel-disable-translations = + .label = Poista käännökset kokonaan käytöstä +translations-manage-enable = + .label = Ota koko sivun käännökset käyttöön +translations-manage-autopopup = + .label = Näytä kehote kääntämään sivut, jotka eivät ole selaimen määritetyllä kielellä diff --git a/l10n/fi/toolkit/branding/brandings.ftl b/l10n/fi/toolkit/branding/brandings.ftl new file mode 100644 index 0000000..f77a73b --- /dev/null +++ b/l10n/fi/toolkit/branding/brandings.ftl @@ -0,0 +1,7 @@ +-screenshots-brand-name = Kuvakaappaukset +-profiler-brand-name = Profilaattori +-translations-brand-name = Käännökset +-firefox-suggest-brand-name = Ehdotukset +-firefox-home-brand-name = Kotisivu +-firefoxview-brand-name = Välilehtinäkymä +-firefoxlabs-brand-name = Kokeelliset ominaisuudet diff --git a/l10n/fr/browser/preferences/preferences.inc.ftl b/l10n/fr/browser/preferences/preferences.inc.ftl new file mode 100644 index 0000000..5156a2a --- /dev/null +++ b/l10n/fr/browser/preferences/preferences.inc.ftl @@ -0,0 +1,71 @@ +## Préférences de LibreWolf + +# Barre latérale +pane-librewolf-title = LibreWolf +category-librewolf = + .tooltiptext = changements dans about:config, regroupés logiquement et facilement accessibles +# Contenu principal +librewolf-header = Préférences de LibreWolf +librewolf-warning-title = Attention ! +librewolf-warning-description = Nous choisissons avec soin les paramètres par défaut pour privilégier la confidentialité et la sécurité. Lorsque vous modifiez ces paramètres, lisez les descriptions pour comprendre les implications de ces changements. +# Mise en page +librewolf-general-heading = Comportement du navigateur +librewolf-extension-update-checkbox = + .label = Mettre à jour les modules automatiquement +librewolf-sync-checkbox = + .label = Activer Firefox Sync +librewolf-autocopy-checkbox = + .label = Activer le collage par clic du milieu +librewolf-styling-checkbox = + .label = Autoriser la personnalisation avec userChrome.css +librewolf-network-heading = Réseau +librewolf-ipv6-checkbox = + .label = Activer IPv6 +librewolf-privacy-heading = Confidentialité +librewolf-xorigin-ref-checkbox = + .label = Limiter les referers inter-origine +librewolf-broken-heading = Empreinte numérique +librewolf-webgl-checkbox = + .label = Activer WebGL +librewolf-rfp-checkbox = + .label = Activer ResistFingerprinting +librewolf-auto-decline-canvas-checkbox = + .label = Bloquer silencieusement les demandes d'accès au canvas +librewolf-letterboxing-checkbox = + .label = Activer le letterboxing +librewolf-security-heading = Sécurité +librewolf-ocsp-checkbox = + .label = Appliquer l'échec strict OCSP +librewolf-goog-safe-checkbox = + .label = Activer la navigation sécurisée de Google +librewolf-goog-safe-download-checkbox = + .label = Scanner les téléchargements +# Descriptions détaillées +librewolf-extension-update-description = Gardez les extensions à jour sans intervention manuelle. Un bon choix pour votre sécurité. +librewolf-extension-update-warning1 = Si vous ne révisez pas le code de vos extensions avant chaque mise à jour, vous devriez activer cette option. +librewolf-ipv6-description = Autoriser { -brand-short-name } à se connecter via IPv6. +librewolf-ipv6-warning1 = Au lieu de bloquer IPv6 dans le navigateur, nous vous suggérons d'activer l'extension de confidentialité IPv6 dans votre système d'exploitation. +librewolf-ocsp-description = Empêcher la connexion à un site web si la vérification OCSP ne peut pas être effectuée. +librewolf-ocsp-warning1 = Cela augmente la sécurité, mais cela entraînera des dysfonctionnements si un serveur OCSP est hors service. +librewolf-sync-description = Synchronisez vos données avec d'autres navigateurs. Nécessite un redémarrage. +librewolf-sync-warning1 = Firefox Sync chiffre les données localement avant de les transmettre au serveur. +librewolf-autocopy-description = Sélectionnez du texte pour le copier, puis collez-le avec un clic du milieu. +librewolf-styling-description = Activez ceci si vous souhaitez personnaliser l'interface utilisateur avec un thème chargé manuellement. +librewolf-styling-warning1 = Assurez-vous de faire confiance au fournisseur du thème. +librewolf-xorigin-ref-description = Envoyer un referrer uniquement pour les mêmes origines. +librewolf-xorigin-ref-warning1 = Cela peut entraîner des dysfonctionnements. De plus, même lorsqu'ils sont envoyés, les referrers seront toujours tronqués. +librewolf-webgl-description = WebGL est un vecteur puissant pour l'empreinte numérique. +librewolf-webgl-warning1 = Si vous devez l'activer, envisagez d'utiliser une extension comme Canvas Blocker. +librewolf-rfp-description = ResistFingerprinting est le meilleur outil anti-empreinte numérique de sa catégorie. +librewolf-rfp-warning1 = Si vous devez le désactiver, envisagez d'utiliser une extension comme Canvas Blocker. +librewolf-auto-decline-canvas-description = Refuser automatiquement l'accès au canvas aux sites web, sans avertir l'utilisateur. +librewolf-auto-decline-canvas-warning1 = Il est toujours possible d'autoriser l'accès au canvas depuis la barre d'URL. +librewolf-letterboxing-description = Le letterboxing applique des marges autour de vos fenêtres, afin de retourner un ensemble limité de résolutions arrondies. +librewolf-goog-safe-description = Si vous craignez les logiciels malveillants et le phishing, envisagez de l'activer. +librewolf-goog-safe-warning1 = Désactivé pour des raisons de censure mais recommandé pour les utilisateurs moins avancés. Toutes les vérifications se font localement. +librewolf-goog-safe-download-description = Autoriser la navigation sécurisée à scanner vos téléchargements pour identifier les fichiers suspects. +librewolf-goog-safe-download-warning1 = Toutes les vérifications se font localement. +# Pied de page +librewolf-footer = Liens utiles +librewolf-config-link = Tous les paramètres avancés (about:config) +librewolf-open-profile = Ouvrir le répertoire du profil utilisateur diff --git a/l10n/fr/browser/translations.inc.ftl b/l10n/fr/browser/translations.inc.ftl new file mode 100644 index 0000000..1446650 --- /dev/null +++ b/l10n/fr/browser/translations.inc.ftl @@ -0,0 +1,4 @@ +translations-manage-enable = + .label = Activer les traductions de pages entières +translations-manage-autopopup = + .label = Inviter à traduire les pages qui ne sont pas dans la langue configurée du navigateur diff --git a/l10n/hu/browser/preferences/preferences.inc.ftl b/l10n/hu/browser/preferences/preferences.inc.ftl new file mode 100644 index 0000000..2588540 --- /dev/null +++ b/l10n/hu/browser/preferences/preferences.inc.ftl @@ -0,0 +1,64 @@ +librewolf-header = LibreWolf Beállítások +librewolf-warning-title = Figyelem! +librewolf-general-heading = Böngésző viselkedés +librewolf-extension-update-checkbox = + .label = A kiegészítők automatikus frissítése +librewolf-sync-checkbox = + .label = Firefox Sync engedélyezése +pane-librewolf-title = LibreWolf +librewolf-warning-description = Gondosan választjuk ki az alapértelmezett beállításokat, hogy az adatvédelemre és a biztonságra összpontosítsunk. Ha módosítja ezeket a beállításokat, akkor olvassa el a leírást, hogy megértse a módosítások következményeit. +category-librewolf = + .tooltiptext = about:config változások, logikusan csoportosítva és könnyen elérhetően +librewolf-ipv6-warning1 = Ahelyett, hogy tiltaná az IPv6-ot a böngészőben, javasoljuk, hogy engedélyezze az IPv6 adatvédelmi bővítményt az operációs rendszerében. +librewolf-styling-checkbox = + .label = A userChrome.css testreszabásának engedélyezése +librewolf-network-heading = Hálózatkezelés +librewolf-privacy-heading = Adatvédelem +librewolf-xorigin-ref-checkbox = + .label = Keresztirányú hivatkozások korlátozása +librewolf-broken-heading = Ujjlenyomatozás +librewolf-webgl-checkbox = + .label = WebGL engedélyezése +librewolf-rfp-checkbox = + .label = ResistFingerprinting engedélyezése +librewolf-letterboxing-checkbox = + .label = Letterboxing engedélyezése +librewolf-security-heading = Biztonság +librewolf-ocsp-checkbox = + .label = OCSP hard-fail kikényszerítése +librewolf-goog-safe-checkbox = + .label = Google Biztonságos Böngészés funkció engedélyezése +librewolf-goog-safe-download-checkbox = + .label = Letöltések vizsgálata +librewolf-extension-update-warning1 = Ha nem vizsgálja felül a bővítményei kódját minden frissítés előtt, akkor engedélyezze ezt a lehetőséget. +librewolf-ipv6-description = Engedélyezze a { -brand-short-name } IPv6 használatával történő csatlakozást. +librewolf-ocsp-description = A webhelyhez való csatlakozás megakadályozása, ha az OCSP-ellenőrzés nem végezhető el. +librewolf-ocsp-warning1 = Ez növeli a biztonságot, de törést is okozhat, ha egy OCSP-kiszolgáló nem működik. +librewolf-sync-description = Szinkronizálja adatait más böngészőkkel. Újraindítást igényel. +librewolf-sync-warning1 = A Firefox Sync helyben titkosítja az adatokat, mielőtt továbbítja azokat a kiszolgálóra. +librewolf-styling-description = Engedélyezze ezt, ha a felhasználói felületet kézzel betöltött témával szeretné testreszabni. +librewolf-styling-warning1 = Győződjön meg arról, hogy megbízik a téma készítőjében. +librewolf-xorigin-ref-description = Csak azonos eredetű hivatkozás küldése. +librewolf-webgl-description = A WebGL egy erős ujjlenyomatvektor. +librewolf-webgl-warning1 = Ha engedélyeznie kell, fontolja meg egy olyan bővítmény használatát, mint a Canvas Blocker. +librewolf-rfp-description = A ResistFingerprinting a kategória legjobb ujjlenyomat-ellenes eszköze. +librewolf-rfp-warning1 = Ha le kell tiltania, fontolja meg egy olyan kiterjesztés használatát, mint a Canvas Blocker. +librewolf-auto-decline-canvas-warning1 = Továbbra is lehetséges a vászonhoz való hozzáférés engedélyezése a webcímmezőből. +librewolf-goog-safe-description = Ha aggódik a rosszindulatú programok és az adathalászat miatt, fontolja meg ennek engedélyezését. +librewolf-goog-safe-warning1 = Cenzúrával kapcsolatos aggályok miatt letiltva, de kevésbé haladó felhasználóknak ajánlott. Minden ellenőrzés helyben történik. +librewolf-goog-safe-download-description = Engedélyezze, hogy a Biztonságos Böngészés átvizsgálja a letöltéseket a gyanús fájlok azonosítása érdekében. +librewolf-goog-safe-download-warning1 = Minden ellenőrzés helyben történik. +librewolf-footer = Hasznos hivatkozások +librewolf-open-profile = Felhasználói profilkönyvtár megnyitása +librewolf-ipv6-checkbox = + .label = IPv6 engedélyezése +librewolf-auto-decline-canvas-description = Automatikusan, a felhasználó felszólítása nélkül megtagadhatja a vászonhoz való hozzáférést a webhelyekhez. +librewolf-autocopy-description = Jelöljön ki egy szöveget a másoláshoz, majd illessze be az egér középső gombjával. +librewolf-config-link = Összes speciális beállítás (about:config) +librewolf-autocopy-checkbox = + .label = Középső kattintással történő beillesztés engedélyezése +librewolf-auto-decline-canvas-checkbox = + .label = Canvas hozzáférési kérelmek csendes tiltása +librewolf-xorigin-ref-warning1 = Ez törést okozhat. Ezenkívül még akkor is, ha elküldte a referenseket, akkor is meg lesz nyírva. +librewolf-letterboxing-description = A Letterboxing margókat alkalmaz az ablakok körül, hogy egy korlátozott számú lekerekített felbontást adjon vissza. +librewolf-extension-update-description = Kézi beavatkozások nélkül naprakészen tarthatja a bővítményeket. Jó választás az ön biztonsága érdekében. diff --git a/l10n/hu/browser/translations.inc.ftl b/l10n/hu/browser/translations.inc.ftl new file mode 100644 index 0000000..ea7573c --- /dev/null +++ b/l10n/hu/browser/translations.inc.ftl @@ -0,0 +1,6 @@ +translations-panel-disable-translations = + .label = A fordítások teljes kikapcsolása +translations-manage-enable = + .label = Teljes oldalas fordítások engedélyezése +translations-manage-autopopup = + .label = Felhívás az olyan oldalak fordítására, amelyek nem a böngésző beállított nyelvén vannak beállítva diff --git a/l10n/nb-NO/browser/translations.inc.ftl b/l10n/nb-NO/browser/translations.inc.ftl new file mode 100644 index 0000000..8e86ccd --- /dev/null +++ b/l10n/nb-NO/browser/translations.inc.ftl @@ -0,0 +1,6 @@ +translations-panel-disable-translations = + .label = Skru av oversettelser +translations-manage-enable = + .label = Skru på oversettelser +translations-manage-autopopup = + .label = Spør om å oversette sider som ikke er tilgjengelige på nettleserens oppsatte språk diff --git a/l10n/sv/browser/preferences/preferences.inc.ftl b/l10n/sv/browser/preferences/preferences.inc.ftl new file mode 100644 index 0000000..26c938a --- /dev/null +++ b/l10n/sv/browser/preferences/preferences.inc.ftl @@ -0,0 +1,6 @@ +pane-librewolf-title = LibreWolf +librewolf-header = Egenskaper för LibreWolf +librewolf-warning-title = Lystring! +librewolf-privacy-heading = Sekretess +category-librewolf = + .tooltiptext = ändringar i about:config, grupperad logiskt och lätt tillgänglig diff --git a/patches/fullpage-translations-customization.patch b/patches/fullpage-translations-customization.patch index 387d687..ceff318 100644 --- a/patches/fullpage-translations-customization.patch +++ b/patches/fullpage-translations-customization.patch @@ -162,28 +162,3 @@ index 0c8288af9aca..05e49c06ff63 100644 /** * Redirect the user to about:preferences */ -diff --git a/browser/locales/en-US/browser/translations.ftl b/browser/locales/en-US/browser/translations.ftl -index e2aca3eabbe1..92d738fdf6e5 100644 ---- a/browser/locales/en-US/browser/translations.ftl -+++ b/browser/locales/en-US/browser/translations.ftl -@@ -58,6 +58,9 @@ translations-panel-settings-never-translate-unknown-language = - translations-panel-settings-never-translate-site = - .label = Never translate this site - -+translations-panel-disable-translations = -+ .label = Disable translations completely -+ - ## The translation panel appears from the url bar, and this view is the default - ## translation view. - -@@ -123,6 +126,10 @@ translations-manage-header = Translations - translations-manage-settings-button = - .label = Settings… - .accesskey = t -+translations-manage-enable = -+ .label = Enable fullpage translations -+translations-manage-autopopup = -+ .label = Prompt to translate pages that aren’t in the browser’s configured language - translations-manage-intro-2 = Set your language and site translation preferences and manage languages downloaded for offline translation. - translations-manage-download-description = Download languages for offline translation - translations-manage-language-download-button = diff --git a/patches/ui-patches/pref-naming.patch b/patches/ui-patches/pref-naming.patch index bc6ffd8..15e00e0 100644 --- a/patches/ui-patches/pref-naming.patch +++ b/patches/ui-patches/pref-naming.patch @@ -1,14 +1,5 @@ --- a/browser/locales/en-US/browser/preferences/preferences.ftl +++ b/browser/locales/en-US/browser/preferences/preferences.ftl -@@ -142,6 +142,8 @@ search-results-help-link = Need help? Visit { -brand-sho - - startup-header = Startup - -+session-restore-learn-more = What if it does not work? -+ - always-check-default = - .label = Always check if { -brand-short-name } is your default browser - .accesskey = y @@ -489,7 +491,7 @@ play-drm-content = .label = Play DRM-controlled content .accesskey = P @@ -27,23 +18,3 @@ update-history = .label = Show Update History… -@@ -664,7 +666,7 @@ home-restore-defaults = - .accesskey = R - - home-mode-choice-default-fx = -- .label = { -firefox-home-brand-name } (Default) -+ .label = Homepage (Default) - - home-mode-choice-custom = - .label = Custom URLs… -@@ -693,8 +695,8 @@ choose-bookmark = - - ## Home Section - Firefox Home Content Customization - --home-prefs-content-header2 = { -firefox-home-brand-name } Content --home-prefs-content-description2 = Choose what content you want on your { -firefox-home-brand-name } screen. -+home-prefs-content-header2 = Homepage Content -+home-prefs-content-description2 = Choose what content you want on your Homepage screen. - - home-prefs-search-header = - .label = Web Search diff --git a/patches/ui-patches/remove-branding-urlbar.patch b/patches/ui-patches/remove-branding-urlbar.patch deleted file mode 100644 index 1f0fca7..0000000 --- a/patches/ui-patches/remove-branding-urlbar.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/browser/locales/en-US/browser/browser.ftl -+++ b/browser/locales/en-US/browser/browser.ftl -@@ -543,7 +543,7 @@ urlbar-result-action-search-tabs = Searc - # A label shown above the "Firefox Suggest" (bookmarks/history) group in the - # urlbar results. - urlbar-group-firefox-suggest = -- .label = { -firefox-suggest-brand-name } -+ .label = Suggestions - - # A label shown above the search suggestions group in the urlbar results. It - # should use sentence case. diff --git a/patches/ui-patches/rename-firefox-labs.patch b/patches/ui-patches/rename-firefox-labs.patch deleted file mode 100644 index e4840f2..0000000 --- a/patches/ui-patches/rename-firefox-labs.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/toolkit/locales/en-US/toolkit/branding/brandings.ftl b/toolkit/locales/en-US/toolkit/branding/brandings.ftl ---- a/toolkit/locales/en-US/toolkit/branding/brandings.ftl -+++ b/toolkit/locales/en-US/toolkit/branding/brandings.ftl -@@ -51,4 +51,4 @@ - # experimental and in-development features, and turn those features on and off. - # The "Labs" portion can be localized, “Firefox” must be treated as a brand - # and kept in English. ---firefoxlabs-brand-name = Firefox Labs -+-firefoxlabs-brand-name = Experimental Features diff --git a/scripts/generate-locales.sh b/scripts/generate-locales.sh deleted file mode 100755 index 1e94b45..0000000 --- a/scripts/generate-locales.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/bash - -if [ ! -f browser/locales/shipped-locales ]; then - echo "ERROR: Run this script from the root of the LibreWolf source code" - exit 1 -fi - -echo "-> Downloading locales" -rm -rf browser/locales/l10n -curl -o browser/locales/l10n.zip "https://codeload.github.com/mozilla-l10n/firefox-l10n/zip/refs/heads/main" -unzip -qo browser/locales/l10n.zip -d browser/locales/ -mv browser/locales/firefox-l10n-main browser/locales/l10n -rm -f browser/locales/l10n.zip diff --git a/scripts/librewolf-patches.py b/scripts/librewolf-patches.py index 9982979..48dc6bc 100755 --- a/scripts/librewolf-patches.py +++ b/scripts/librewolf-patches.py @@ -9,6 +9,8 @@ import os import sys import optparse import time +from pathlib import Path +from tempfile import TemporaryDirectory # @@ -135,11 +137,6 @@ def librewolf_patches(): exec('cp ../patches/pref-pane/librewolf.css browser/themes/shared/preferences/librewolf.css') exec('cp ../patches/pref-pane/librewolf.inc.xhtml browser/components/preferences/librewolf.inc.xhtml') exec('cp ../patches/pref-pane/librewolf.js browser/components/preferences/librewolf.js') - # 3) append our locale string values to preferences.ftl - exec('cat browser/locales/en-US/browser/preferences/preferences.ftl ../patches/pref-pane/preferences.ftl > preferences.ftl') - exec('mv preferences.ftl browser/locales/en-US/browser/preferences/preferences.ftl') - - # provide a script that fetches and bootstraps Nightly and some mozconfigs exec('cp -v ../scripts/mozfetch.sh lw/') @@ -150,9 +147,48 @@ def librewolf_patches(): with open(file, "w") as f: f.write("{}-{}".format(version,release)) - # generate locales - exec("bash ../scripts/generate-locales.sh") - + print("-> Downloading locales from https://github.com/mozilla-l10n/firefox-l10n") + with TemporaryDirectory() as tmpdir: + exec(f"wget -qO {tmpdir}/l10n.zip 'https://codeload.github.com/mozilla-l10n/firefox-l10n/zip/refs/heads/main'") + exec(f"unzip -qo {tmpdir}/l10n.zip -d {tmpdir}/l10n") + exec(f"mv {tmpdir}/l10n/firefox-l10n-main lw/l10n") + + print("-> Patching appstrings.properties") + # Why is "Firefox" hardcoded there??? + exec("find . -path '*/appstrings.properties' -exec sed -i s/Firefox/LibreWolf/ {} \;") + + print("-> Applying LibreWolf locales") + l10n_dir = Path("..", "l10n") + for source_path in l10n_dir.rglob("*"): + if source_path.is_dir() or source_path.name.endswith(".md"): + continue + + rel_path = source_path.relative_to(l10n_dir) + if rel_path.parts[0] == "en-US": + target_path = Path( + rel_path.parts[1], + "locales", "en-US", + *rel_path.parts[1:] + ) + else: + target_path = Path( + "lw", "l10n", + *rel_path.parts[0:2], + *rel_path.parts[1:] + ) + target_path.parent.mkdir(parents=True, exist_ok=True) + + write_mode = "w" + if ".inc" in target_path.name: + target_path = target_path.with_name(target_path.name.replace(".inc", "")) + write_mode = "a" + + print(f"{source_path} {'>' if write_mode == 'w' else '>>'} {target_path}") + + with open(target_path, write_mode) as target_file: + with open(source_path, "r") as source_file: + target_file.write(("\n\n" if write_mode == "a" else "") + source_file.read()) + leave_srcdir() @@ -166,7 +202,8 @@ if len(args) != 2: sys.exit(1) version = args[0] release = args[1] -if not os.path.exists('librewolf-{}-{}'.format(version, release) + '/configure.py'): +srcdir = "librewolf-{}-{}".format(version, release) +if not os.path.exists(srcdir + '/configure.py'): sys.stderr.write('error: folder doesn\'t look like a Firefox folder.') sys.exit(1) diff --git a/themes/browser/locales/en-US/chrome/overrides/appstrings.properties b/themes/browser/locales/en-US/chrome/overrides/appstrings.properties deleted file mode 100644 index 25b1ee8..0000000 --- a/themes/browser/locales/en-US/chrome/overrides/appstrings.properties +++ /dev/null @@ -1,44 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -malformedURI2=Please check that the URL is correct and try again. -fileNotFound=LibreWolf can’t find the file at %S. -fileAccessDenied=The file at %S is not readable. -dnsNotFound2=We can’t connect to the server at %S. -unknownProtocolFound=LibreWolf doesn’t know how to open this address, because one of the following protocols (%S) isn’t associated with any program or is not allowed in this context. -connectionFailure=LibreWolf can’t establish a connection to the server at %S. -netInterrupt=The connection to %S was interrupted while the page was loading. -netTimeout=The server at %S is taking too long to respond. -redirectLoop=LibreWolf has detected that the server is redirecting the request for this address in a way that will never complete. -## LOCALIZATION NOTE (confirmRepostPrompt): In this item, don’t translate "%S" -confirmRepostPrompt=To display this page, %S must send information that will repeat any action (such as a search or order confirmation) that was performed earlier. -resendButton.label=Resend -unknownSocketType=LibreWolf doesn’t know how to communicate with the server. -netReset=The connection to the server was reset while the page was loading. -notCached=This document is no longer available. -netOffline=LibreWolf is currently in offline mode and can’t browse the Web. -isprinting=The document cannot change while Printing or in Print Preview. -deniedPortAccess=This address uses a network port which is normally used for purposes other than Web browsing. LibreWolf has canceled the request for your protection. -proxyResolveFailure=LibreWolf is configured to use a proxy server that can’t be found. -proxyConnectFailure=LibreWolf is configured to use a proxy server that is refusing connections. -contentEncodingError=The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. -unsafeContentType=The page you are trying to view cannot be shown because it is contained in a file type that may not be safe to open. Please contact the website owners to inform them of this problem. -externalProtocolTitle=External Protocol Request -externalProtocolPrompt=An external application must be launched to handle %1$S: links.\n\n\nRequested link:\n\n%2$S\n\nApplication: %3$S\n\n\nIf you were not expecting this request it may be an attempt to exploit a weakness in that other program. Cancel this request unless you are sure it is not malicious.\n -#LOCALIZATION NOTE (externalProtocolUnknown): The following string is shown if the application name can't be determined -externalProtocolUnknown= -externalProtocolChkMsg=Remember my choice for all links of this type. -externalProtocolLaunchBtn=Launch application -malwareBlocked=The site at %S has been reported as an attack site and has been blocked based on your security preferences. -harmfulBlocked=The site at %S has been reported as a potentially harmful site and has been blocked based on your security preferences. -unwantedBlocked=The site at %S has been reported as serving unwanted software and has been blocked based on your security preferences. -deceptiveBlocked=This web page at %S has been reported as a deceptive site and has been blocked based on your security preferences. -cspBlocked=This page has a content security policy that prevents it from being loaded in this way. -xfoBlocked=This page has an X-Frame-Options policy that prevents it from being loaded in this context. -corruptedContentErrorv2=The site at %S has experienced a network protocol violation that cannot be repaired. -## LOCALIZATION NOTE (sslv3Used) - Do not translate "%S". -sslv3Used=LibreWolf cannot guarantee the safety of your data on %S because it uses SSLv3, a broken security protocol. -inadequateSecurityError=The website tried to negotiate an inadequate level of security. -blockedByPolicy=Your organization has blocked access to this page or website. -networkProtocolError=LibreWolf has experienced a network protocol violation that cannot be repaired.