diff --git a/app/brave_generated_resources.grd b/app/brave_generated_resources.grd index b46be8d8a9f..0b5b53d8bd5 100644 --- a/app/brave_generated_resources.grd +++ b/app/brave_generated_resources.grd @@ -705,18 +705,6 @@ Or change later at $2brave://settings/ext Brave Notification Ad - - 🎉 You're now earning! - - - You earn whenever a notification like this appears on your screen. You don't need to click to earn. - - - You earn when a Brave Ads notification appears - - - You don't need to click to earn, but do click if you're interested! - Thanks for supporting Brave Search by clicking a private ad. Unlike Big Tech, we measure ad performance anonymously to preserve your privacy. diff --git a/components/brave_ads/browser/BUILD.gn b/components/brave_ads/browser/BUILD.gn index 1d1d035db0e..f5a8ecbbce3 100644 --- a/components/brave_ads/browser/BUILD.gn +++ b/components/brave_ads/browser/BUILD.gn @@ -70,9 +70,9 @@ static_library("browser") { ] deps += [ - "//brave/app:brave_generated_resources_grit", "//brave/common", "//brave/components/brave_rewards/core", + "//brave/components/resources:strings_grit", "//components/history/core/browser", "//components/variations", "//content/public/browser", diff --git a/components/brave_ads/browser/reminder/DEPS b/components/brave_ads/browser/reminder/DEPS index 4c8d3123a9c..e618370a0e2 100644 --- a/components/brave_ads/browser/reminder/DEPS +++ b/components/brave_ads/browser/reminder/DEPS @@ -1,3 +1,3 @@ include_rules = [ - "+brave/grit/brave_generated_resources.h", + "+components/grit/brave_components_strings.h", ] diff --git a/components/brave_ads/browser/reminder/reminder_util.cc b/components/brave_ads/browser/reminder/reminder_util.cc index f85862c14ba..60bb865fcd8 100644 --- a/components/brave_ads/browser/reminder/reminder_util.cc +++ b/components/brave_ads/browser/reminder/reminder_util.cc @@ -10,7 +10,7 @@ #include "base/notreached.h" #include "brave/components/brave_ads/core/mojom/brave_ads.mojom.h" #include "brave/components/brave_ads/core/public/ad_units/notification_ad/notification_ad_constants.h" -#include "brave/grit/brave_generated_resources.h" +#include "components/grit/brave_components_strings.h" #include "ui/base/l10n/l10n_util.h" #include "url/gurl.h" diff --git a/components/resources/ads_strings.grdp b/components/resources/ads_strings.grdp new file mode 100644 index 00000000000..2d30c047fe3 --- /dev/null +++ b/components/resources/ads_strings.grdp @@ -0,0 +1,16 @@ + + + + + 🎉 You're now earning! + + + You earn whenever a notification like this appears on your screen. You don't need to click to earn. + + + You earn when a Brave Ads notification appears + + + You don't need to click to earn, but do click if you're interested! + + diff --git a/components/resources/brave_components_strings.grd b/components/resources/brave_components_strings.grd index f9eff4ebd4c..85b71b054a7 100644 --- a/components/resources/brave_components_strings.grd +++ b/components/resources/brave_components_strings.grd @@ -914,6 +914,7 @@ +