From 2918b62320e70eb9b3f5219b765fcbd301ed9e1a Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Tue, 12 Dec 2023 20:51:26 +0400 Subject: [PATCH] chore(YouTube): Fix settings UI typos --- .../layout/thumbnails/AlternativeThumbnailsPatch.kt | 12 ++++++------ .../returnyoutubedislike/host/values/strings.xml | 6 +++--- .../resources/sponsorblock/host/values/strings.xml | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/AlternativeThumbnailsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/AlternativeThumbnailsPatch.kt index 3ec83edf..da3c125d 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/AlternativeThumbnailsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/AlternativeThumbnailsPatch.kt @@ -125,9 +125,9 @@ object AlternativeThumbnailsPatch : BytecodePatch( ), SwitchPreference( "revanced_alt_thumbnail_dearrow_connection_toast", - StringResource("revanced_alt_thumbnail_dearrow_connection_toast_title", "Show toast if API is not available"), - StringResource("revanced_alt_thumbnail_dearrow_connection_toast_summary_on", "Toast shown if DeArrow is not available"), - StringResource("revanced_alt_thumbnail_dearrow_connection_toast_summary_off", "Toast not shown if DeArrow is not available") + StringResource("revanced_alt_thumbnail_dearrow_connection_toast_title", "Show a toast if API is not available"), + StringResource("revanced_alt_thumbnail_dearrow_connection_toast_summary_on", "Toast is shown if DeArrow is not available"), + StringResource("revanced_alt_thumbnail_dearrow_connection_toast_summary_off", "Toast is not shown if DeArrow is not available") ), TextPreference( "revanced_alt_thumbnail_dearrow_api_url", @@ -148,7 +148,7 @@ object AlternativeThumbnailsPatch : BytecodePatch( ), StringResource( "revanced_alt_thumbnail_dearrow_about_summary", - "DeArrow provides crowd sourced thumbnails for YouTube videos. " + + "DeArrow provides crowd-sourced thumbnails for YouTube videos. " + "These thumbnails are often more relevant than those provided by YouTube. " + "If enabled, video URLs will be sent to the API server and no other data is sent." + "\\n\\nTap here to learn more about DeArrow" @@ -160,8 +160,8 @@ object AlternativeThumbnailsPatch : BytecodePatch( SwitchPreference( "revanced_alt_thumbnail_stills", StringResource("revanced_alt_thumbnail_stills_title", "Enable still video captures"), - StringResource("revanced_alt_thumbnail_stills_summary_on", "Using YouTube video still captures"), - StringResource("revanced_alt_thumbnail_stills_summary_off", "Not using YouTube video still captures") + StringResource("revanced_alt_thumbnail_stills_summary_on", "Using YouTube still video captures"), + StringResource("revanced_alt_thumbnail_stills_summary_off", "Not using YouTube still video captures") ), ListPreference( "revanced_alt_thumbnail_stills_time", diff --git a/src/main/resources/returnyoutubedislike/host/values/strings.xml b/src/main/resources/returnyoutubedislike/host/values/strings.xml index 3502b939..003547b3 100644 --- a/src/main/resources/returnyoutubedislike/host/values/strings.xml +++ b/src/main/resources/returnyoutubedislike/host/values/strings.xml @@ -26,9 +26,9 @@ Like button styled for minimum width Like button styled for best appearance - Show toast if API is not available - Toast shown if ReturnYouTubeDislike API is not available - Toast not shown if ReturnYouTubeDislike API is not available + Show a toast if API is not available + Toast is shown if Return YouTube Dislike is not available + Toast is not shown if Return YouTube Dislike is not available About ReturnYouTubeDislike.com diff --git a/src/main/resources/sponsorblock/host/values/strings.xml b/src/main/resources/sponsorblock/host/values/strings.xml index f3159afd..27df746e 100644 --- a/src/main/resources/sponsorblock/host/values/strings.xml +++ b/src/main/resources/sponsorblock/host/values/strings.xml @@ -14,8 +14,8 @@ Skip button hides after a few seconds Skip button displayed for entire segment Show a toast when skipping automatically - Toast shown when a segment is automatically skipped. Tap here to see an example - Toast not shown. Tap here to see an example + Toast is shown when a segment is automatically skipped. Tap here to see an example + Toast is not shown. Tap here to see an example Show video length without segments Video length minus all segments, shown in parentheses next to the full video length Full video length shown @@ -35,9 +35,9 @@ Show me General - Show toast if API is not available - Toast shown if SponsorBlock API is not available - Toast not shown if SponsorBlock API is not available + Show a toast if API is not available + Toast is shown if SponsorBlock is not available + Toast is not shown if SponsorBlock is not available Enable skip count tracking Lets the SponsorBlock leaderboard know how much time is saved. A message is sent to the leaderboard each time a segment is skipped Skip count tracking is not enabled