| Index: components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| diff --git a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| index 475e3c88e5c2c0cad3891747cd974bfc3f7f6e88..f3a1047a88f1ee759e42c0e57d68f6fe0c719720 100644
|
| --- a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| +++ b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "grit/components_strings.h"
|
| +#include "grit/components_strings.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/image/image.h"
|
|
|
| @@ -73,14 +74,15 @@ CategoryStatus PhysicalWebPageSuggestionsProvider::GetCategoryStatus(
|
| CategoryInfo PhysicalWebPageSuggestionsProvider::GetCategoryInfo(
|
| Category category) {
|
| // TODO(vitaliii): Use the proper strings once they've been agreed on.
|
| - return CategoryInfo(
|
| - base::ASCIIToUTF16("Physical web pages"),
|
| - ContentSuggestionsCardLayout::MINIMAL_CARD,
|
| - /*has_more_action=*/false,
|
| - /*has_reload_action=*/false,
|
| - /*has_view_all_action=*/false,
|
| - /*show_if_empty=*/false,
|
| - l10n_util::GetStringUTF16(IDS_NTP_SUGGESTIONS_SECTION_EMPTY));
|
| + return CategoryInfo(l10n_util::GetStringUTF16(
|
| + IDS_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_SECTION_HEADER),
|
| + ContentSuggestionsCardLayout::MINIMAL_CARD,
|
| + /*has_more_action=*/false,
|
| + /*has_reload_action=*/false,
|
| + /*has_view_all_action=*/false,
|
| + /*show_if_empty=*/false,
|
| + l10n_util::GetStringUTF16(
|
| + IDS_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_SECTION_EMPTY));
|
| }
|
|
|
| void PhysicalWebPageSuggestionsProvider::DismissSuggestion(
|
|
|