fix: some patch descriptions and settings are not properly labeled

This commit is contained in:
inotia00 2023-10-02 18:05:55 +09:00
parent dc09f4006e
commit 4bcecb2a92
8 changed files with 12 additions and 12 deletions

View File

@ -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(

View File

@ -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,

View File

@ -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(

View File

@ -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,

View File

@ -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")

View File

@ -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 ->

View File

@ -95,7 +95,7 @@ class SponsorBlockPatch : ResourcePatch {
} }
/** /**
* Add ReVanced Settings * Add ReVanced Extended Settings
*/ */
SettingsPatch.addReVancedPreference("sponsorblock_settings") SettingsPatch.addReVancedPreference("sponsorblock_settings")

View File

@ -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>