feat(Custom branding): Add in-app settings to change icon and name (#6059)

Co-authored-by: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
This commit is contained in:
MarcaD
2025-10-07 23:21:12 +04:00
committed by GitHub
co-authored by LisoUseInAIKyrios
parent 64d22a9c31
commit a50f3b5177
89 changed files with 925 additions and 217 deletions
@@ -19,6 +19,19 @@ Second \"item\" text"</string>
-->
<resources>
<app id="shared">
<patch id="layout.branding.baseCustomBrandingPatch">
<string name="revanced_custom_branding_name_title">App name</string>
<!-- Translations of this should be identical to revanced_custom_branding_icon_entry_5 -->
<string name="revanced_custom_branding_name_entry_5">Custom</string>
<string name="revanced_custom_branding_icon_title">App icon</string>
<string name="revanced_custom_branding_icon_entry_1">Original</string>
<string name="revanced_custom_branding_icon_entry_2">ReVanced</string>
<!-- Translation of this should be identical to revanced_header_logo_entry_5 -->
<string name="revanced_custom_branding_icon_entry_3">ReVanced minimal</string>
<string name="revanced_custom_branding_icon_entry_4">ReVanced scaled</string>
<!-- Translations of this should be identical to revanced_custom_branding_name_entry_5 -->
<string name="revanced_custom_branding_icon_entry_5">Custom</string>
</patch>
<patch id="misc.checks.checkEnvironmentPatch">
<string name="revanced_check_environment_failed_title">Checks failed</string>
<string name="revanced_check_environment_dialog_open_official_source_button">Open official website</string>
@@ -1484,13 +1497,18 @@ Swipe to expand or close"</string>
<string name="revanced_seekbar_custom_color_accent_summary">The accent color of the seekbar</string>
<string name="revanced_seekbar_custom_color_invalid">Invalid seekbar color value</string>
</patch>
<patch id="layout.branding.customBrandingPatch">
<string name="revanced_custom_branding_name_entry_2" translatable="false">YouTube ReVanced</string>
<string name="revanced_custom_branding_name_entry_3" translatable="false">YT ReVanced</string>
<string name="revanced_custom_branding_name_entry_4" translatable="false">YT</string>
</patch>
<patch id="layout.branding.changeHeaderPatch">
<string name="revanced_header_logo_title">Header logo</string>
<string name="revanced_header_logo_entry_1">Default</string>
<string name="revanced_header_logo_entry_2">Regular</string>
<string name="revanced_header_logo_entry_3" translatable="false">Premium</string>
<string name="revanced_header_logo_entry_4" translatable="false">ReVanced</string>
<!-- For this situation "Minimal" means minimalistic. It does not mean small or tiny. -->
<!-- Translation of this should be identical to revanced_custom_branding_icon_entry_3 -->
<string name="revanced_header_logo_entry_5">ReVanced minimal</string>
<string name="revanced_header_logo_entry_6">Custom</string>
</patch>
@@ -1708,6 +1726,11 @@ Video playback with AV1 may stutter or drop frames."</string>
</patch>
</app>
<app id="music">
<patch id="layout.branding.customBrandingPatch">
<string name="revanced_custom_branding_name_entry_2" translatable="false">YT Music ReVanced</string>
<string name="revanced_custom_branding_name_entry_3" translatable="false">Music ReVanced</string>
<string name="revanced_custom_branding_name_entry_4" translatable="false">Music</string>
</patch>
<patch id="misc.settings.settingsPatch">
<string name="revanced_settings_music_screen_0_about_title">About</string>
<string name="revanced_settings_music_screen_1_ads_title">Ads</string>