From 0a827abfd6f31faf2e95801b6967e0446e06f7c4 Mon Sep 17 00:00:00 2001 From: Malte Juergens Date: Sat, 14 Sep 2024 00:57:29 +0200 Subject: [PATCH] Move translations patches/fullpage-translations-customization.patch into own *.ftl file --- l10n/en-US/browser/translations.ftl | 7 ++++++ .../fullpage-translations-customization.patch | 25 ------------------- 2 files changed, 7 insertions(+), 25 deletions(-) create mode 100644 l10n/en-US/browser/translations.ftl diff --git a/l10n/en-US/browser/translations.ftl b/l10n/en-US/browser/translations.ftl new file mode 100644 index 0000000..0fe01dd --- /dev/null +++ b/l10n/en-US/browser/translations.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/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 =