mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-01 15:14:34 +02:00
fix: some patch descriptions and settings are not properly labeled
This commit is contained in:
parent
dc09f4006e
commit
4bcecb2a92
@ -30,7 +30,7 @@ import app.revanced.util.microg.MicroGBytecodeHelper
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
@Name("MicroG support")
|
@Name("MicroG support")
|
||||||
@Description("Allows ReVanced Music to run without root and under a different package name with MicroG.")
|
@Description("Allows ReVanced Extended Music to run without root and under a different package name with MicroG.")
|
||||||
@MusicCompatibility
|
@MusicCompatibility
|
||||||
class MicroGPatch : BytecodePatch(
|
class MicroGPatch : BytecodePatch(
|
||||||
listOf(
|
listOf(
|
||||||
|
@ -14,7 +14,7 @@ import kotlin.io.path.exists
|
|||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("Reddit settings")
|
@Name("Reddit settings")
|
||||||
@Description("Adds ReVanced settings to Reddit.")
|
@Description("Adds ReVanced Extended Settings to Reddit.")
|
||||||
@DependsOn(
|
@DependsOn(
|
||||||
[
|
[
|
||||||
IntegrationsPatch::class,
|
IntegrationsPatch::class,
|
||||||
|
@ -24,7 +24,7 @@ abstract class AbstractSettingsResourcePatch(
|
|||||||
context.copyXmlNode(sourceHostDirectory, "values/strings.xml", "resources")
|
context.copyXmlNode(sourceHostDirectory, "values/strings.xml", "resources")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize ReVanced Settings
|
* Initialize ReVanced Extended Settings
|
||||||
*/
|
*/
|
||||||
if (isYouTube)
|
if (isYouTube)
|
||||||
context.copyResources(
|
context.copyResources(
|
||||||
|
@ -21,7 +21,7 @@ import app.revanced.util.resources.ResourceHelper.setMicroG
|
|||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("MicroG support")
|
@Name("MicroG support")
|
||||||
@Description("Allows ReVanced to run without root and under a different package name with MicroG.")
|
@Description("Allows ReVanced Extended to run without root and under a different package name with MicroG.")
|
||||||
@DependsOn(
|
@DependsOn(
|
||||||
[
|
[
|
||||||
PackageNamePatch::class,
|
PackageNamePatch::class,
|
||||||
|
@ -171,7 +171,7 @@ class ReturnYouTubeDislikePatch : BytecodePatch(
|
|||||||
VideoIdPatch.injectCall("$INTEGRATIONS_RYD_CLASS_DESCRIPTOR->newVideoLoaded(Ljava/lang/String;)V")
|
VideoIdPatch.injectCall("$INTEGRATIONS_RYD_CLASS_DESCRIPTOR->newVideoLoaded(Ljava/lang/String;)V")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add ReVanced Settings
|
* Add ReVanced Extended Settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addReVancedPreference("ryd_settings")
|
SettingsPatch.addReVancedPreference("ryd_settings")
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ import java.util.concurrent.TimeUnit
|
|||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("Settings")
|
@Name("Settings")
|
||||||
@Description("Applies mandatory patches to implement ReVanced settings into the application.")
|
@Description("Applies mandatory patches to implement ReVanced Extended Settings into the application.")
|
||||||
@DependsOn(
|
@DependsOn(
|
||||||
[
|
[
|
||||||
IntegrationsPatch::class,
|
IntegrationsPatch::class,
|
||||||
@ -103,12 +103,12 @@ class SettingsPatch : AbstractSettingsResourcePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* initialize ReVanced Settings
|
* initialize ReVanced Extended Settings
|
||||||
*/
|
*/
|
||||||
addReVancedPreference("extended_settings")
|
addReVancedPreference("extended_settings")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* remove revanced settings divider
|
* remove ReVanced Extended Settings divider
|
||||||
*/
|
*/
|
||||||
arrayOf("Theme.YouTube.Settings", "Theme.YouTube.Settings.Dark").forEach { themeName ->
|
arrayOf("Theme.YouTube.Settings", "Theme.YouTube.Settings.Dark").forEach { themeName ->
|
||||||
context.xmlEditor["res/values/styles.xml"].use { editor ->
|
context.xmlEditor["res/values/styles.xml"].use { editor ->
|
||||||
|
@ -95,7 +95,7 @@ class SponsorBlockPatch : ResourcePatch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add ReVanced Settings
|
* Add ReVanced Extended Settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addReVancedPreference("sponsorblock_settings")
|
SettingsPatch.addReVancedPreference("sponsorblock_settings")
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<string name="revanced_append_time_stamp_information_type_summary_off">Append playback speed</string>
|
<string name="revanced_append_time_stamp_information_type_summary_off">Append playback speed</string>
|
||||||
<string name="revanced_append_time_stamp_information_type_summary_on">Append video quality</string>
|
<string name="revanced_append_time_stamp_information_type_summary_on">Append video quality</string>
|
||||||
<string name="revanced_append_time_stamp_information_type_title">Append information type</string>
|
<string name="revanced_append_time_stamp_information_type_title">Append information type</string>
|
||||||
<string name="revanced_backup_summary">Import ReVanced settings from file or export ReVanced settings to file</string>
|
<string name="revanced_backup_summary">Import ReVanced Extended settings from file or export ReVanced Extended settings to file</string>
|
||||||
<string name="revanced_bottom_player">Bottom player</string>
|
<string name="revanced_bottom_player">Bottom player</string>
|
||||||
<string name="revanced_button_container_title">Button container</string>
|
<string name="revanced_button_container_title">Button container</string>
|
||||||
<string name="revanced_bypass_ambient_mode_restrictions_summary_off">Ambient mode is disabled in battery saver mode</string>
|
<string name="revanced_bypass_ambient_mode_restrictions_summary_off">Ambient mode is disabled in battery saver mode</string>
|
||||||
@ -163,7 +163,7 @@
|
|||||||
<string name="revanced_enable_wide_search_bar_summary_on">Wide search bar is enabled</string>
|
<string name="revanced_enable_wide_search_bar_summary_on">Wide search bar is enabled</string>
|
||||||
<string name="revanced_enable_wide_search_bar_title">Enable wide search bar</string>
|
<string name="revanced_enable_wide_search_bar_title">Enable wide search bar</string>
|
||||||
<string name="revanced_experimental_flag">Experimental Flags</string>
|
<string name="revanced_experimental_flag">Experimental Flags</string>
|
||||||
<string name="revanced_export_settings_summary">Save your ReVanced settings to file</string>
|
<string name="revanced_export_settings_summary">Save your ReVanced Extended settings to file</string>
|
||||||
<string name="revanced_export_settings_title">Export settings</string>
|
<string name="revanced_export_settings_title">Export settings</string>
|
||||||
<string name="revanced_external_downloader_installed">Installed</string>
|
<string name="revanced_external_downloader_installed">Installed</string>
|
||||||
<string name="revanced_external_downloader_not_installed">Not installed</string>
|
<string name="revanced_external_downloader_not_installed">Not installed</string>
|
||||||
@ -552,7 +552,7 @@ Known issue: Autoplay does not work"</string>
|
|||||||
<string name="revanced_hook_download_button_summary">"Replace download button with external download button
|
<string name="revanced_hook_download_button_summary">"Replace download button with external download button
|
||||||
Only available on YouTube v18.24.37+"</string>
|
Only available on YouTube v18.24.37+"</string>
|
||||||
<string name="revanced_hook_download_button_title">Hook download button</string>
|
<string name="revanced_hook_download_button_title">Hook download button</string>
|
||||||
<string name="revanced_import_settings_summary">Fetch ReVanced settings from saved file</string>
|
<string name="revanced_import_settings_summary">Fetch ReVanced Extended settings from saved file</string>
|
||||||
<string name="revanced_import_settings_title">Import settings</string>
|
<string name="revanced_import_settings_title">Import settings</string>
|
||||||
<string name="revanced_layout_title">Layout</string>
|
<string name="revanced_layout_title">Layout</string>
|
||||||
<string name="revanced_misc">Miscellaneous</string>
|
<string name="revanced_misc">Miscellaneous</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user