Skip to content

Commit

Permalink
[1.58.x] Uplift: News: add "es_AR", "fr_FR" and "de_DE" to default en…
Browse files Browse the repository at this point in the history
…abled locales (#20273)

* Merge pull request #20197 from brave/news-regions-fr-de

News: add "fr_FR" and "de_DE" to default enabled locales

* Merge pull request #20286 from brave/news-regions-ar

News: add "es_AR" to default region list
  • Loading branch information
petemill authored Sep 27, 2023
1 parent dbf9532 commit df69075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/brave_news/browser/locales_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ constexpr auto kEnabledLanguages =
base::MakeFixedFlatSet<base::StringPiece>({"en", "ja"});
// We can add to this list as new locales become available to have Brave News
// show when it's ready for those users.
constexpr auto kEnabledLocales =
base::MakeFixedFlatSet<base::StringPiece>({"es_ES", "es_MX", "pt_BR"});
constexpr auto kEnabledLocales = base::MakeFixedFlatSet<base::StringPiece>(
{"es_ES", "es_MX", "es_AR", "pt_BR", "fr_FR", "de_DE"});

bool HasAnyLocale(const base::flat_set<std::string>& locales,
const mojom::Publisher* publisher) {
Expand Down

0 comments on commit df69075

Please sign in to comment.