Bug 919228 - Update top sites thumbnail placeholder text to "Add a site". r=sriram

This commit is contained in:
Margaret Leibovic 2013-09-23 10:40:24 -07:00
Родитель 80ca1f40c5
Коммит 0324828e2d
3 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -183,7 +183,7 @@ public class TopSitesGridItemView extends RelativeLayout {
mTitleView.setText(title); mTitleView.setText(title);
mIsEmpty = false; mIsEmpty = false;
} else { } else {
mTitleView.setText(R.string.bookmark_add); mTitleView.setText(R.string.home_top_sites_add);
mIsEmpty = true; mIsEmpty = true;
} }

Просмотреть файл

@ -271,6 +271,10 @@ size. -->
<!ENTITY button_clear "Clear"> <!ENTITY button_clear "Clear">
<!ENTITY home_top_sites_title "Top Sites"> <!ENTITY home_top_sites_title "Top Sites">
<!-- Localization note (home_top_sites_add): This string is used as placeholder
text underneath empty thumbnails in the Top Sites page on about:home. -->
<!ENTITY home_top_sites_add "Add a site">
<!ENTITY home_history_title "History"> <!ENTITY home_history_title "History">
<!ENTITY home_last_tabs_title "Tabs from last time"> <!ENTITY home_last_tabs_title "Tabs from last time">
<!ENTITY home_last_tabs_open "Open all tabs from last time"> <!ENTITY home_last_tabs_open "Open all tabs from last time">

Просмотреть файл

@ -253,6 +253,7 @@
<string name="button_no">&button_no;</string> <string name="button_no">&button_no;</string>
<string name="home_top_sites_title">&home_top_sites_title;</string> <string name="home_top_sites_title">&home_top_sites_title;</string>
<string name="home_top_sites_add">&home_top_sites_add;</string>
<string name="home_history_title">&home_history_title;</string> <string name="home_history_title">&home_history_title;</string>
<string name="home_last_tabs_title">&home_last_tabs_title;</string> <string name="home_last_tabs_title">&home_last_tabs_title;</string>
<string name="home_last_tabs_open">&home_last_tabs_open;</string> <string name="home_last_tabs_open">&home_last_tabs_open;</string>