
- Added a show_if_empty field to CategoryInfo. A category with this flag enabled will be always shown on the NTP, but if it's disabled and we have no suggestion for this category when initialising the NTP, we won't show it at all. - If the section has a MORE button, when the last suggestion is dismissed, we show a different Empty State status card that has no action and leave the MORE button to provide the action. - Added strings an a new status card for Bookmarks and updated the ones for articles. Preview: https://goo.gl/photos/CE8bFvEtuYQNhW1m9 BUG=610648 Review-Url: https://codereview.chromium.org/2249903003 Cr-Commit-Position: refs/heads/master@{#413141}
42 lines
2.6 KiB
XML
42 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<grit-part>
|
|
|
|
<if expr="is_android">
|
|
<message name="IDS_SNIPPETS_DISABLED_SIGNED_OUT_INSTRUCTIONS" desc="Body of the card explaining the status of the content suggestions on the New Tab Page, when the user is signed out." formatter_data="android_java">
|
|
To get personalized content suggested by Google, sign in to Chrome.
|
|
</message>
|
|
<message name="IDS_SNIPPETS_DISABLED_GENERIC_PROMPT" desc="Title of the card explaining what action the user can take to get content suggestions on the New Tab Page." formatter_data="android_java">
|
|
Get suggested content
|
|
</message>
|
|
<message name="IDS_NTP_STATUS_CARD_TITLE_NO_BOOKMARKS" desc="On the New Tab Page, title of the status card explaining that there is no new content available in the bookmarks section." formatter_data="android_java">
|
|
Done for now
|
|
</message>
|
|
<message name="IDS_NTP_STATUS_CARD_NO_BOOKMARKS" desc="On the New Tab Page, text of the card explaining to the user that they can expect to see bookmarks in this area in the future." formatter_data="android_java">
|
|
Your recently visited bookmarks will appear here.
|
|
</message>
|
|
<message name="IDS_NTP_STATUS_CARD_TITLE_NO_ARTICLES" desc="On the New Tab Page, title of the status card explaining that there is no new content available in the articles section." formatter_data="android_java">
|
|
All Read
|
|
</message>
|
|
<message name="IDS_NTP_STATUS_CARD_NO_ARTICLES" desc="On the New Tab Page, text of the card explaining to the user that they can expect to see suggested articles in this area in the future." formatter_data="android_java">
|
|
More articles will appear when the time is right.
|
|
</message>
|
|
</if>
|
|
|
|
<message name="IDS_NTP_ARTICLE_SUGGESTIONS_SECTION_HEADER" desc="Header of the articles section, which is a list of news articles displayed as cards on the New Tab Page.">
|
|
Articles for you
|
|
</message>
|
|
|
|
<message name="IDS_NTP_RECENT_TAB_SUGGESTIONS_SECTION_HEADER" desc="Header of the recent tabs section, which is a list of pages that the user recently viewed, displayed as cards on the New Tab Page.">
|
|
Recent tabs
|
|
</message>
|
|
|
|
<message name="IDS_NTP_DOWNLOAD_SUGGESTIONS_SECTION_HEADER" desc="Header of the downloads section, which is a list of pages (or files) that the user downloaded, displayed as cards on the New Tab Page.">
|
|
Downloads
|
|
</message>
|
|
|
|
<message name="IDS_NTP_BOOKMARK_SUGGESTIONS_SECTION_HEADER" desc="Header of the bookmarks section, which is a list of the user's most recently used bookmarks displayed as cards on the New Tab Page.">
|
|
Recent bookmarks
|
|
</message>
|
|
|
|
</grit-part>
|