refactor: Make strings consistent (#5075)

This commit is contained in:
ILoveOpenSourceApplications
2025-05-31 10:25:04 +02:00
committed by GitHub
parent 0265a7791b
commit 2b0e3b4553
6 changed files with 17 additions and 10 deletions
@@ -7,7 +7,7 @@ import app.revanced.patcher.patch.stringOption
@Suppress("unused")
val spoofBuildInfoPatch = bytecodePatch(
name = "Spoof build info",
description = "Spoof the information about the current build.",
description = "Spoofs the information about the current build.",
use = false,
) {
val board by stringOption(
@@ -141,14 +141,14 @@ val spoofBuildInfoPatch = bytecodePatch(
val socManufacturer by stringOption(
key = "soc-manufacturer",
default = null,
title = "SOC Manufacturer",
title = "SOC manufacturer",
description = "The manufacturer of the device's primary system-on-chip.",
)
val socModel by stringOption(
key = "soc-model",
default = null,
title = "SOC Model",
title = "SOC model",
description = "The model name of the device's primary system-on-chip.",
)
@@ -36,12 +36,12 @@ val spoofSimCountryPatch = bytecodePatch(
val networkCountryIso by isoCountryPatchOption(
"networkCountryIso",
"Network ISO Country Code",
"Network ISO country code",
)
val simCountryIso by isoCountryPatchOption(
"simCountryIso",
"Sim ISO Country Code",
"SIM ISO country code",
)
dependsOn(
@@ -5,7 +5,7 @@ import app.revanced.patcher.patch.bytecodePatch
@Suppress("unused")
val unlockPremiumPatch = bytecodePatch(
name = "Unlock premium",
name = "Unlock Premium",
) {
compatibleWith("com.adobe.lrmobile"("10.0.2"))
@@ -4,9 +4,9 @@ import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
import app.revanced.patcher.patch.bytecodePatch
@Suppress("unused")
val unlockPremiumIconPatch = bytecodePatch(
name = "Unlock premium Reddit icons",
description = "Unlocks the premium Reddit icons.",
val unlockPremiumIconsPatch = bytecodePatch(
name = "Unlock Premium icons",
description = "Unlocks the Reddit Premium icons.",
) {
compatibleWith("com.reddit.frontpage")
@@ -20,3 +20,9 @@ val unlockPremiumIconPatch = bytecodePatch(
)
}
}
@Deprecated("Patch was renamed", ReplaceWith("unlockPremiumIconsPatch"))
@Suppress("unused")
val unlockPremiumIconPatch = bytecodePatch{
dependsOn(unlockPremiumIconsPatch)
}
@@ -8,7 +8,7 @@ import java.util.logging.Logger
@Suppress("unused")
val disableLicenseCheckPatch = bytecodePatch(
name = "Disable Pairip license check",
description = "Disable Play Integrity Protect (Pairip) client-side license check.",
description = "Disables Play Integrity API (Pairip) client-side license check.",
use = false
) {