mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 05:07:41 +02:00
Proper nouns and clarity of in-app strings (#54)
* (YT Music): Fix proper nouns and clarity * Update strings.xml * Update strings.xml * Update strings.xml * Update strings.xml * Recently added YouTube strings * refactor: Patch option descriptions * Update src/main/kotlin/app/revanced/patches/youtube/player/overlaybuttons/OverlayButtonsPatch.kt Co-authored-by: KobeW50 <84587632+KobeW50@users.noreply.github.com> * Revert Android 8.0 change * Update strings.xml * refactor(YouTube - Hide feed components): Description * Fix capitalization of `Comments` --------- Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
This commit is contained in:
@ -78,7 +78,7 @@ object LayoutComponentsPatch : BaseBytecodePatch(
|
||||
key = "ForceHideVoiceSearchButton",
|
||||
default = false,
|
||||
title = "Force hide voice search button",
|
||||
description = "Hide voice search button with legacy method, button will always be hidden."
|
||||
description = "Permanently hide the voice search button with the legacy method."
|
||||
)
|
||||
|
||||
override fun execute(context: BytecodeContext) {
|
||||
|
@ -98,11 +98,13 @@ object CustomBrandingIconPatch : BaseResourcePatch(
|
||||
values = availableIcon,
|
||||
title = "App icon",
|
||||
description = """
|
||||
The path to a folder containing the following folders:
|
||||
The icon to apply to the app.
|
||||
|
||||
If a path to a folder is provided, the folder must contain the following folders:
|
||||
|
||||
${mipmapDirectories.joinToString("\n") { "- $it" }}
|
||||
|
||||
Each of these folders has to have the following files:
|
||||
Each of these folders must contain the following files:
|
||||
|
||||
${launcherIconResourceFileNames.joinToString("\n") { "- $it" }}
|
||||
"""
|
||||
|
@ -36,7 +36,7 @@ object PackageNamePatch : ResourcePatch() {
|
||||
"Default" to DEFAULT_PACKAGE_NAME_YOUTUBE
|
||||
),
|
||||
title = "Package name of YouTube",
|
||||
description = "The name of the package to use in MicroG support",
|
||||
description = "The name of the package to use in GmsCore support.",
|
||||
required = true
|
||||
)
|
||||
|
||||
@ -48,7 +48,7 @@ object PackageNamePatch : ResourcePatch() {
|
||||
"Default" to DEFAULT_PACKAGE_NAME_YOUTUBE_MUSIC
|
||||
),
|
||||
title = "Package name of YouTube Music",
|
||||
description = "The name of the package to use in MicroG support",
|
||||
description = "The name of the package to use in GmsCore support.",
|
||||
required = true
|
||||
)
|
||||
|
||||
|
@ -50,7 +50,7 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference
|
||||
@Suppress("unused")
|
||||
object FeedComponentsPatch : BaseBytecodePatch(
|
||||
name = "Hide feed components",
|
||||
description = "Adds options to hide components related to the feed.",
|
||||
description = "Adds options to hide components related to feeds.",
|
||||
dependencies = setOf(
|
||||
LithoFilterPatch::class,
|
||||
NavigationBarHookPatch::class,
|
||||
|
@ -86,7 +86,7 @@ object ToolBarComponentsPatch : BaseBytecodePatch(
|
||||
key = "ForceHideVoiceSearchButton",
|
||||
default = false,
|
||||
title = "Force hide voice search button",
|
||||
description = "Hide voice search button with legacy method, button will always be hidden."
|
||||
description = "Permanently hide the voice search button with the legacy method."
|
||||
)
|
||||
|
||||
override fun execute(context: BytecodeContext) {
|
||||
|
@ -102,11 +102,13 @@ object CustomBrandingIconPatch : BaseResourcePatch(
|
||||
values = availableIcon,
|
||||
title = "App icon",
|
||||
description = """
|
||||
The path to a folder containing the following folders:
|
||||
The icon to apply to the app.
|
||||
|
||||
If a path to a folder is provided, the folder must contain the following folders:
|
||||
|
||||
${mipmapDirectories.joinToString("\n") { "- $it" }}
|
||||
|
||||
Each of these folders has to have the following files:
|
||||
Each of these folders must contain the following files:
|
||||
|
||||
${launcherIconResourceFileNames.joinToString("\n") { "- $it" }}
|
||||
"""
|
||||
|
@ -22,7 +22,7 @@ object DoubleTapLengthPatch : BaseResourcePatch(
|
||||
key = "DoubleTapLengthArrays",
|
||||
default = "3, 5, 10, 15, 20, 30, 60, 120, 180",
|
||||
title = "Double-tap to seek Values",
|
||||
description = "A list of custom double-tap to seek lengths. Be sure to separate them with commas (,).",
|
||||
description = "A list of custom double-tap to seek lengths to be added, separated by commas.",
|
||||
required = true
|
||||
)
|
||||
|
||||
|
@ -52,7 +52,7 @@ object OverlayButtonsPatch : BaseResourcePatch(
|
||||
default = DEFAULT_ICON_KEY,
|
||||
values = iconTypes,
|
||||
title = "Icon type",
|
||||
description = "Apply icon type"
|
||||
description = "The icon type."
|
||||
)
|
||||
|
||||
// Option to set bottom margin
|
||||
@ -64,7 +64,7 @@ object OverlayButtonsPatch : BaseResourcePatch(
|
||||
"Default" to DEFAULT_MARGIN
|
||||
),
|
||||
title = "Bottom margin",
|
||||
description = "Apply bottom margin to Overlay buttons and Timestamp"
|
||||
description = "The bottom margin for the overlay buttons and timestamp."
|
||||
)
|
||||
|
||||
/**
|
||||
|
@ -25,7 +25,7 @@ object SponsorBlockPatch : BaseResourcePatch(
|
||||
key = "OutlineIcon",
|
||||
default = false,
|
||||
title = "Outline icons",
|
||||
description = "Apply the outline icon",
|
||||
description = "Apply the outline icon.",
|
||||
required = true
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user