Skip to content

Commit 14e2c07

Browse files
authored
feat(YouTube): Improve patch descriptions (#2519)
1 parent 9175e50 commit 14e2c07

File tree

66 files changed

+77
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+77
-74
lines changed

src/main/kotlin/app/revanced/patches/shared/misc/gms/AbstractGmsCoreSupportPatch.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import com.android.tools.smali.dexlib2.immutable.reference.ImmutableStringRefere
2424
import com.android.tools.smali.dexlib2.util.MethodUtil
2525

2626
/**
27-
* A patch that allows Google apps to run without root and under a different package name
27+
* A patch that allows patched Google apps to run without root and under a different package name
2828
* by using GmsCore instead of Google Play Services.
2929
*
3030
* @param fromPackageName The package name of the original app.
@@ -47,7 +47,7 @@ abstract class AbstractGmsCoreSupportPatch(
4747
fingerprints: Set<MethodFingerprint> = emptySet(),
4848
) : BytecodePatch(
4949
name = "GmsCore support",
50-
description = "Allows Google apps to run without root and under a different package name " +
50+
description = "Allows patched Google apps to run without root and under a different package name " +
5151
"by using GmsCore instead of Google Play Services.",
5252
dependencies = setOf(ChangePackageNamePatch::class, abstractGmsCoreSupportResourcePatch::class) + dependencies,
5353
compatiblePackages = compatiblePackages,

src/main/kotlin/app/revanced/patches/youtube/ad/general/HideAdsPatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction35c
1515

1616
@Patch(
1717
name = "Hide ads",
18-
description = "Removes general ads.",
18+
description = "Adds options to remove general ads.",
1919
dependencies = [
2020
HideGetPremiumPatch::class,
2121
HideAdsResourcePatch::class,

src/main/kotlin/app/revanced/patches/youtube/ad/video/VideoAdsPatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import app.revanced.patches.youtube.misc.settings.SettingsPatch
1515

1616
@Patch(
1717
name = "Video ads",
18-
description = "Removes ads in the video player.",
18+
description = "Adds an option to remove ads in the video player.",
1919
dependencies = [
2020
IntegrationsPatch::class,
2121
SettingsPatch::class

src/main/kotlin/app/revanced/patches/youtube/interaction/copyvideourl/CopyVideoUrlBytecodePatch.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import app.revanced.patches.youtube.misc.playercontrols.PlayerControlsBytecodePa
88
import app.revanced.patches.youtube.video.information.VideoInformationPatch
99

1010
@Patch(
11-
name = "Copy video url",
12-
description = "Adds buttons in player to copy video links.",
11+
name = "Copy video URL",
12+
description = "Adds options to display buttons in the video player to copy video URLs.",
1313
dependencies = [
1414
CopyVideoUrlResourcePatch::class,
1515
PlayerControlsBytecodePatch::class,

src/main/kotlin/app/revanced/patches/youtube/interaction/dialog/RemoveViewerDiscretionDialogPatch.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.FiveRegisterInstruction
1616

1717
@Patch(
1818
name = "Remove viewer discretion dialog",
19-
description = "Removes the dialog that appears when you try to watch a video that has been age-restricted " +
19+
description = "Adds an option to remove the dialog that appears when opening a video that has been age-restricted " +
2020
"by accepting it automatically. This does not bypass the age restriction.",
2121
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
2222
compatiblePackages = [
@@ -51,7 +51,7 @@ object RemoveViewerDiscretionDialogPatch : BytecodePatch(
5151
),
5252
StringResource(
5353
"revanced_remove_viewer_discretion_dialog_user_dialog_message",
54-
"This does not bypass the age restriction, it just accepts it automatically."
54+
"This does not bypass the age restriction. It just accepts it automatically."
5555
)
5656
)
5757
)

src/main/kotlin/app/revanced/patches/youtube/interaction/downloads/ExternalDownloadsBytecodePatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import app.revanced.patches.youtube.video.information.VideoInformationPatch
99

1010
@Patch(
1111
name = "External downloads",
12-
description = "Adds support to download and save YouTube videos using an external app.",
12+
description = "Adds support to download and save YouTube videos using an external downloader app.",
1313
dependencies = [
1414
ExternalDownloadsResourcePatch::class,
1515
PlayerControlsBytecodePatch::class,

src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/DisablePreciseSeekingGesturePatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.FiveRegisterInstruction
1616

1717
@Patch(
1818
name = "Disable precise seeking gesture",
19-
description = "Disables the gesture that is used to seek precisely when swiping up on the seekbar.",
19+
description = "Adds an option to disable precise seeking when swiping up on the seekbar.",
2020
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
2121
compatiblePackages = [
2222
CompatiblePackage(

src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/EnableSeekbarTappingPatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference
2020

2121
@Patch(
2222
name = "Seekbar tapping",
23-
description = "Enables tap-to-seek on the seekbar of the video player.",
23+
description = "Adds an option to enable tap-to-seek on the seekbar of the video player.",
2424
dependencies = [
2525
IntegrationsPatch::class, SettingsPatch::class],
2626
compatiblePackages = [

src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/EnableSlideToSeekPatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
1717

1818
@Patch(
1919
name = "Enable slide to seek",
20-
description = "Enable slide to seek instead of playing at 2x speed when pressing and holding in the video player.",
20+
description = "Adds an option to enable slide to seek instead of playing at 2x speed when pressing and holding in the video player.",
2121
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
2222
compatiblePackages = [
2323
CompatiblePackage(

src/main/kotlin/app/revanced/patches/youtube/interaction/swipecontrols/SwipeControlsBytecodePatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableMethod
1616

1717
@Patch(
1818
name = "Swipe controls",
19-
description = "Adds volume and brightness swipe controls.",
19+
description = "Adds options to enable and configure volume and brightness swipe controls.",
2020
dependencies = [
2121
IntegrationsPatch::class,
2222
PlayerTypeHookPatch::class,

0 commit comments

Comments
 (0)