From 17e4ac978a2f109fd62469a3163b636cd63c55ae Mon Sep 17 00:00:00 2001
From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
Date: Mon, 15 Apr 2024 19:18:57 +0400
Subject: [PATCH] fix(YouTube - Hide ads): rename `Hide paid content` to `Hide
paid promotion label` (#3026)
---
.../patches/youtube/ad/general/HideAdsResourcePatch.kt | 2 +-
src/main/resources/addresources/values/strings.xml | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/kotlin/app/revanced/patches/youtube/ad/general/HideAdsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ad/general/HideAdsResourcePatch.kt
index c89ba7eca5..ebf47807e1 100644
--- a/src/main/kotlin/app/revanced/patches/youtube/ad/general/HideAdsResourcePatch.kt
+++ b/src/main/kotlin/app/revanced/patches/youtube/ad/general/HideAdsResourcePatch.kt
@@ -30,7 +30,7 @@ object HideAdsResourcePatch : ResourcePatch() {
SwitchPreference("revanced_hide_general_ads"),
SwitchPreference("revanced_hide_fullscreen_ads"),
SwitchPreference("revanced_hide_buttoned_ads"),
- SwitchPreference("revanced_hide_paid_content_ads"),
+ SwitchPreference("revanced_hide_paid_promotion_label"),
SwitchPreference("revanced_hide_self_sponsor_ads"),
SwitchPreference("revanced_hide_products_banner"),
SwitchPreference("revanced_hide_shopping_links"),
diff --git a/src/main/resources/addresources/values/strings.xml b/src/main/resources/addresources/values/strings.xml
index c2cfcf53af..0157fc4cf2 100644
--- a/src/main/resources/addresources/values/strings.xml
+++ b/src/main/resources/addresources/values/strings.xml
@@ -249,9 +249,9 @@
Hide buttoned ads
Buttoned ads are hidden
Buttoned ads are shown
- Hide paid content
- Paid content is hidden
- Paid content is shown
+ Hide paid promotion label
+ Paid promotion label is hidden
+ Paid promotion label is shown
Hide self sponsored cards
Self sponsored cards are hidden
Self sponsored cards are shown