Skip to content

Commit

Permalink
feat(YouTube/Description components): add `Hide AI-generated video su…
Browse files Browse the repository at this point in the history
…mmary section` setting inotia00/ReVanced_Extended#2473
  • Loading branch information
inotia00 committed Nov 6, 2024
1 parent 823ccf4 commit 200e2b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,9 @@ Side effect: Cairo theme is also applied to notification dots."</string>
<string name="revanced_disable_rolling_number_animations_title">Disable Rolling number animations</string>
<string name="revanced_disable_rolling_number_animations_summary_on">Rolling numbers are not animated.</string>
<string name="revanced_disable_rolling_number_animations_summary_off">Rolling numbers are animated.</string>
<string name="revanced_hide_ai_generated_video_summary_section_title">Hide AI-generated video summary section</string>
<string name="revanced_hide_ai_generated_video_summary_section_summary_on">AI-generated video summary section is hidden.</string>
<string name="revanced_hide_ai_generated_video_summary_section_summary_off">AI-generated video summary section is shown.</string>
<string name="revanced_hide_attributes_section_title">Hide Attributes section</string>
<string name="revanced_hide_attributes_section_summary_on">Featured places, Games, and Music sections are hidden.</string>
<string name="revanced_hide_attributes_section_summary_off">Featured places, Games, and Music sections are shown.</string>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
<!-- SETTINGS: DISABLE_ROLLING_NUMBER_ANIMATIONS
<SwitchPreference android:title="@string/revanced_disable_rolling_number_animations_title" android:key="revanced_disable_rolling_number_animations" android:summaryOn="@string/revanced_disable_rolling_number_animations_summary_on" android:summaryOff="@string/revanced_disable_rolling_number_animations_summary_off" />SETTINGS: DISABLE_ROLLING_NUMBER_ANIMATIONS -->
<!-- SETTINGS: DESCRIPTION_COMPONENTS
<SwitchPreference android:title="@string/revanced_hide_ai_generated_video_summary_section_title" android:key="revanced_hide_ai_generated_video_summary_section" android:summaryOn="@string/revanced_hide_ai_generated_video_summary_section_summary_on" android:summaryOff="@string/revanced_hide_ai_generated_video_summary_section_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_attributes_section_title" android:key="revanced_hide_attributes_section" android:summaryOn="@string/revanced_hide_attributes_section_summary_on" android:summaryOff="@string/revanced_hide_attributes_section_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_chapters_section_title" android:key="revanced_hide_chapters_section" android:summaryOn="@string/revanced_hide_chapters_section_summary_on" android:summaryOff="@string/revanced_hide_chapters_section_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_contents_section_title" android:key="revanced_hide_contents_section" android:summaryOn="@string/revanced_hide_contents_section_summary_on" android:summaryOff="@string/revanced_hide_contents_section_summary_off" />
Expand Down

0 comments on commit 200e2b8

Please sign in to comment.