This commit is contained in:
inotia00
2024-07-27 17:17:07 +09:00
parent 7dcfeff435
commit 383a70673c
6 changed files with 116 additions and 0 deletions

View File

@ -206,4 +206,14 @@
<item>17.41.37</item>
<item>17.33.42</item>
</string-array>
<string-array name="revanced_watch_history_type_entries">
<item>@string/revanced_watch_history_type_entry_1</item>
<item>@string/revanced_watch_history_type_entry_2</item>
<item>@string/revanced_watch_history_type_entry_3</item>
</string-array>
<string-array name="revanced_watch_history_type_entry_values">
<item>ORIGINAL</item>
<item>REPLACE</item>
<item>BLOCK</item>
</string-array>
</resources>

View File

@ -1642,6 +1642,29 @@ Side effects include:
• Low quality Shorts seekbar thumbnails.
• Kids videos do not play."</string>
<!-- PreferenceScreen: Miscellaneous, PreferenceCategory: Miscellaneous, PreferenceScreen: Watch history -->
<string name="revanced_preference_screen_watch_history_title">Watch history</string>
<string name="revanced_preference_screen_watch_history_summary">Change settings related with watch history.</string>
<string name="revanced_watch_history_management_title">Manage all history</string>
<string name="revanced_watch_history_management_summary">Click to open the YouTube watch history management.</string>
<string name="revanced_watch_history_type_title">Watch history type</string>
<string name="revanced_watch_history_type_entry_1">Original</string>
<string name="revanced_watch_history_type_entry_2">Replace domain</string>
<string name="revanced_watch_history_type_entry_3">Block watch history</string>
<string name="revanced_watch_history_about_title">About watch history</string>
<string name="revanced_watch_history_about_status_blocked">• Watch history does not work.</string>
<string name="revanced_watch_history_about_status_ios_replaced">"• Follows the watch history settings of Google account.
• Watch history may not work with a brand account.
(Spoof client setting is turned on and iOS client is selected)"</string>
<string name="revanced_watch_history_about_status_ios_original">"• Follows the watch history settings of Google account.
• Watch history may not work due to DNS or VPN.
• Watch history may not work with a brand account.
(Spoof client setting is turned on and iOS client is selected)"</string>
<string name="revanced_watch_history_about_status_android_replaced">• Follows the watch history settings of Google account.</string>
<string name="revanced_watch_history_about_status_android_original">"• Follows the watch history settings of Google account.
• Watch history may not work due to DNS or VPN."</string>
<!-- PreferenceScreen: Miscellaneous, PreferenceCategory: Miscellaneous, PreferenceCategory: Patch information -->
<string name="revanced_preference_category_patch_information">Patch information</string>

View File

@ -621,6 +621,15 @@
<Preference android:title="@string/revanced_spoof_client_use_android_vr_title" android:key="revanced_spoof_client_use_android_vr" android:selectable="false" android:summary="@string/revanced_spoof_client_use_android_vr_summary" android:dependency="revanced_spoof_client" />
</PreferenceScreen>SETTINGS: SPOOF_CLIENT -->
<!-- SETTINGS: WATCH_HISTORY
<PreferenceScreen android:title="@string/revanced_preference_screen_watch_history_title" android:key="revanced_preference_screen_watch_history" android:summary="@string/revanced_preference_screen_watch_history_summary">
<Preference android:title="@string/revanced_watch_history_management_title" android:summary="@string/revanced_watch_history_management_summary">
<intent android:action="android.intent.action.VIEW" android:data="https://history.google.com/history/youtube/watch" />
</Preference>
<ListPreference android:entries="@array/revanced_watch_history_type_entries" android:title="@string/revanced_watch_history_type_title" android:key="revanced_watch_history_type" android:entryValues="@array/revanced_watch_history_type_entry_values" />
<app.revanced.integrations.youtube.settings.preference.WatchHistoryStatusPreference android:title="@string/revanced_watch_history_about_title" />
</PreferenceScreen>SETTINGS: WATCH_HISTORY -->
<!-- SETTINGS: DISABLE_QUIC_PROTOCOL
<SwitchPreference android:title="@string/revanced_disable_quic_protocol_title" android:key="revanced_disable_quic_protocol" android:summary="@string/revanced_disable_quic_protocol_summary" />SETTINGS: DISABLE_QUIC_PROTOCOL -->
@ -728,6 +737,7 @@
<Preference android:title="Remove background playback restrictions" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Sanitize sharing links" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Spoof client" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
<Preference android:title="Watch history" android:summary="@string/revanced_patches_excluded" android:selectable="false"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/revanced_preference_category_others" android:layout="@layout/revanced_settings_preferences_category">