LeOS-Ice-browser/patches_129/2902-addonManagement.patch

146 lines
7.8 KiB
Diff
Raw Permalink Normal View History

2024-08-26 10:00:43 +02:00
From 1c68117d5dcae26178893794525a7da2fbb59a8d Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Sat, 24 Aug 2024 11:54:04 +0200
Subject: [PATCH] 002-name_and_icon
---
app/build.gradle | 14 +++---
.../forkRelease/res/values/static_strings.xml | 2 +-
app/src/main/res/values/static_strings.xml | 22 ++++-----
patches/0002-addonManagement.patch | 45 +++++++++++++++++++
4 files changed, 64 insertions(+), 19 deletions(-)
create mode 100644 patches/0002-addonManagement.patch
diff --git a/app/src/forkRelease/res/values/static_strings.xml b/app/src/forkRelease/res/values/static_strings.xml
index 0587640ee2..7be98b62ed 100644
--- a/app/src/forkRelease/res/values/static_strings.xml
+++ b/app/src/forkRelease/res/values/static_strings.xml
@@ -4,5 +4,5 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources>
<!-- Name of the application -->
- <string name="app_name" translatable="false">Iceraven</string>
+ <string name="app_name" translatable="false">LeOSium</string>
</resources>
diff --git a/app/src/main/res/values/static_strings.xml b/app/src/main/res/values/static_strings.xml
index 3fab96c164..25dcd8863e 100644
--- a/app/src/main/res/values/static_strings.xml
+++ b/app/src/main/res/values/static_strings.xml
@@ -4,7 +4,7 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources>
<!-- Name of the application -->
- <string name="app_name" translatable="false">Iceraven Fenix</string>
+ <string name="app_name" translatable="false">LeOSium</string>
<string name="firefox" translatable="false">Iceraven</string>
<!-- Preference for developers -->
@@ -21,7 +21,7 @@
<!-- Default title for pinned Wikipedia top site that links to Wikipedia home page -->
<string name="default_top_site_wikipedia" translatable="false">Wikipedia</string>
<!-- Default title for pinned Google top site that links to Google home page -->
- <string name="default_top_site_google" translatable="false">Google</string>
+ <string name="default_top_site_google" translatable="false">Goolag</string>
<!-- Application Services abbreviation used in AboutFragment -->
<string name="app_services_abbreviation" translatable="false">AS</string>
<!-- Name for the Pocket product -->
@@ -63,9 +63,9 @@
<!-- Preference to use the experimental React (The web framework) Mozilla Account page, used only in testing -->
<string name="preferences_use_react_fxa">Use New React Mozilla Account page</string>
<!-- Quit app button title for the Sync Debug preferences -->
- <string name="preferences_sync_debug_quit_button_title">Stop Firefox</string>
+ <string name="preferences_sync_debug_quit_button_title">LeOSium</string>
<!-- Quit app button summary for the Sync Debug preferences -->
- <string name="preferences_sync_debug_quit_button_summary">Custom server changes will take effect on the next Firefox run.</string>
+ <string name="preferences_sync_debug_quit_button_summary">Custom server changes will take effect on the next LeOSium run.</string>
<!-- Button title for simulating an FxA network error inside the Sync Debug menu -->
<string name="preferences_sync_debug_network_error_button_title">Simulate account network error</string>
<!-- Button title for simulating an FxA temporary auth error inside the Sync Debug menu -->
@@ -82,8 +82,8 @@
<string name="preferences_debug_settings_homepage_as_new_tab" translatable="false">Enable Homepage as a New Tab</string>
<!-- Label for enabling the menu redesign -->
<string name="preferences_debug_settings_menu_redesign" translatable="false">Enable Menu Redesign</string>
- <!-- Label for enabling Firefox Suggest -->
- <string name="preferences_debug_settings_fxsuggest" translatable="false">Enable Firefox Suggest</string>
+ <!-- Label for enabling LeOSium Suggest -->
+ <string name="preferences_debug_settings_fxsuggest" translatable="false">Enable LeOSium Suggest</string>
<!-- Label for enabling Navigation Toolbar -->
<string name="preferences_debug_settings_navigation_toolbar" translatable="false">Enable Navigation Toolbar</string>
<!-- Label for enabling Felt Privacy -->
@@ -108,15 +108,15 @@
<string name="profiler_stop">Stop Profiler</string>
<string name="profiler_settings_title">Profiler Settings</string>
- <string name="profiler_filter_firefox">Firefox</string>
+ <string name="profiler_filter_firefox">LeOSium</string>
<string name="profiler_running">Profiler is currently running</string>
- <string name="profiler_filter_firefox_explain">Recommended preset for profiling Firefox</string>
+ <string name="profiler_filter_firefox_explain">Recommended preset for profiling LeOSium</string>
<string name="profiler_filter_graphics">Graphics</string>
- <string name="profiler_filter_graphics_explain">Preset for investigating graphics bugs in Firefox</string>
+ <string name="profiler_filter_graphics_explain">Preset for investigating graphics bugs in LeOSium</string>
<string name="profiler_filter_media">Media</string>
- <string name="profiler_filter_media_explain">Preset for investigating audio and video bugs in Firefox</string>
+ <string name="profiler_filter_media_explain">Preset for investigating audio and video bugs in LeOSium</string>
<string name="profiler_filter_networking">Networking</string>
- <string name="profiler_filter_networking_explain">Preset for investigating networking bugs in Firefox</string>
+ <string name="profiler_filter_networking_explain">Preset for investigating networking bugs in LeOSium</string>
<string name="profiler_start_dialog_started">Profiler started</string>
diff --git a/patches/0002-addonManagement.patch b/patches/0002-addonManagement.patch
new file mode 100644
index 0000000000..26dbef9343
--- /dev/null
+++ b/patches/0002-addonManagement.patch
@@ -0,0 +1,45 @@
+From 87ed492a2038cae402e35a025fcc95064a472868 Mon Sep 17 00:00:00 2001
+From: harvey186 <harvey186@hotmail.com>
+Date: Sat, 24 Aug 2024 11:47:21 +0200
+Subject: [PATCH] addonManagement
+
+---
+ .../org/mozilla/fenix/addons/AddonsManagementFragment.kt | 8 ++++----
+ app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt | 2 +-
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt b/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
+index 9c8bf3f0a2..3ea336b6e7 100644
+--- a/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
++++ b/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
+@@ -144,10 +144,10 @@ class AddonsManagementFragment : Fragment(R.layout.fragment_add_ons_management)
+ showAlertDialog()
+ true
+ }
+- R.id.addons_sideload -> {
+- installFromFile()
+- true
+- }
++ // R.id.addons_sideload -> {
++ // installFromFile()
++ // true
++ // }
+ R.id.search -> {
+ true
+ }
+diff --git a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
+index 749e3828f7..c2c3d33abc 100644
+--- a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
++++ b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
+@@ -897,7 +897,7 @@ class HomeFragment : Fragment() {
+ }
+ },
+ ),
+- showTopRecentSites = settings.showTopRecentSites,
++// showTopRecentSites = settings.showTopRecentSites,
+ )
+ }
+
+--
+2.34.1
+
--
2.34.1