diff --git a/patches/fenix-overlay/strings/res/values-pt-rBR/ironfox_strings.xml b/patches/fenix-overlay/strings/res/values-pt-rBR/ironfox_strings.xml new file mode 100644 index 0000000..8e98afd --- /dev/null +++ b/patches/fenix-overlay/strings/res/values-pt-rBR/ironfox_strings.xml @@ -0,0 +1,16 @@ + + + + Solicitar versões em inglês das páginas web para melhor privacidade + + Alterar essa configuração reiniciará seu navegador + + Habilitar serviços de acessibilidade + Ative para permitir a comunicação com serviços de acessibilidade no seu dispositivo. + + Habilitar Safe Browsing + + Habilitar JavaScript + Habilitar compilação Just-in-time (JIT) do JavaScript + Habilitar WebAssembly (WASM) + \ No newline at end of file diff --git a/patches/fenix-overlay/strings/res/values/ironfox_strings.xml b/patches/fenix-overlay/strings/res/values/ironfox_strings.xml new file mode 100644 index 0000000..d4aff51 --- /dev/null +++ b/patches/fenix-overlay/strings/res/values/ironfox_strings.xml @@ -0,0 +1,16 @@ + + + + Request English versions of web pages for enhanced privacy + + Changing this setting will restart your browser + + Enable accessibility services + Enable to allow communication with accessibility services on your device. + + Enable Safe Browsing + + Enable JavaScript + Enable JavaScript Just-in-time Compilation (JIT) + Enable WebAssembly (WASM) + \ No newline at end of file diff --git a/patches/ironfox-static-strings.patch b/patches/ironfox-static-strings.patch deleted file mode 100644 index 904a50a..0000000 --- a/patches/ironfox-static-strings.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/mobile/android/fenix/app/src/main/res/values/static_strings.xml b/mobile/android/fenix/app/src/main/res/values/static_strings.xml -index f09ddd8dd5..509fa6c4b5 100644 ---- a/mobile/android/fenix/app/src/main/res/values/static_strings.xml -+++ b/mobile/android/fenix/app/src/main/res/values/static_strings.xml -@@ -228,4 +228,17 @@ - Send Ping - - Sent %1$s ping -+ -+ Request English versions of web pages for enhanced privacy -+ -+ Changing this setting will restart your browser -+ -+ Enable Accessibility Services -+ Enable to allow communication with Accessibility Services on your device. -+ -+ Enable Safe Browsing -+ -+ Enable JavaScript -+ Enable JavaScript Just-in-time Compilation (JIT) -+ Enable WebAssembly (WASM) - diff --git a/scripts/patches.yaml b/scripts/patches.yaml index b150b48..e9855c8 100644 --- a/scripts/patches.yaml +++ b/scripts/patches.yaml @@ -510,14 +510,6 @@ patches: effect: "Users can choose what compromises they're comfortable with and tailor the browsing experience to meet their needs, directly from the UI." category: "User Interface" - - file: "ironfox-static-strings.patch" - name: "IronFox Static Strings" - description: "Provides static strings for UI settings specific to IronFox." - reason: | - To allow us to provide custom UI settings, while avoiding conflicts with other patches. - effect: "Users can take advantage of our custom UI settings to improve their privacy, security, and browsing experience." - category: "User Interface" - - file: "js-settings.patch" name: "JavaScript Settings" description: "Adds IronFox-specific UI settings for controlling JavaScript, JavaScript Just-in-time Compilation (JIT), and WebAssembly (WASM)." diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh index 026a765..0c906ad 100755 --- a/scripts/prebuild.sh +++ b/scripts/prebuild.sh @@ -189,6 +189,9 @@ find "$patches/fenix-overlay/initial_experiments" -type f | while read -r src; d cp "$src" "$dst" done +# Copy our strings and translations +cp -r "$patches/fenix-overlay/strings/res/" "app/src/main/" + # Remove Reddit & YouTube as built-in search engines (due to poor privacy practices) rm app/src/main/assets/searchplugins/reddit.xml rm app/src/main/assets/searchplugins/youtube.xml