| 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 2d054885a3928868850ec806c085b0a6df2223d0..13f52a8e2d987a27e953238319b4f08d906f4d99 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
|
| @@ -72,16 +72,15 @@ CategoryStatus PhysicalWebPageSuggestionsProvider::GetCategoryStatus(
|
|
|
| CategoryInfo PhysicalWebPageSuggestionsProvider::GetCategoryInfo(
|
| Category category) {
|
| - // TODO(vitaliii): Use the proper string once it has been agreed on.
|
| - // TODO(vitaliii): Use a translateable string. (crbug.com/667764)
|
| - return CategoryInfo(
|
| - base::ASCIIToUTF16("Physical web pages"),
|
| - ContentSuggestionsCardLayout::FULL_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::FULL_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(
|
|
|