Fix Bug 1433209 - Remove unused strings.

This commit is contained in:
Andrei Oprea 2018-03-09 17:40:14 +01:00 коммит произвёл GitHub
Родитель 9d52b427db
Коммит 4c139faa4d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 2 добавлений и 44 удалений

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

@ -1,21 +1,10 @@
newtab_page_title=New Tab
default_label_loading=Loading…
header_top_sites=Top Sites
header_stories=Top Stories
header_highlights=Highlights
header_visit_again=Visit Again
header_bookmarks=Recent Bookmarks
# LOCALIZATION NOTE(header_recommended_by): This is followed by the name
# of the corresponding content provider.
header_recommended_by=Recommended by {provider}
# LOCALIZATION NOTE(header_bookmarks_placeholder): This message is
# meant to inform that section contains no information because
# the user hasn't added any bookmarks.
header_bookmarks_placeholder=You dont have any bookmarks yet.
# LOCALIZATION NOTE(header_stories_from): This is followed by a logo of the
# corresponding content (stories) provider
header_stories_from=from
# LOCALIZATION NOTE(context_menu_button_sr): This is for screen readers when
# the context menu button is focused/active. Title is the label or hostname of
@ -31,13 +20,8 @@ section_context_menu_button_sr=Open the section context menu
# the page is bookmarked, or is currently open on another device
type_label_visited=Visited
type_label_bookmarked=Bookmarked
type_label_synced=Synced from another device
type_label_recommended=Trending
type_label_pocket=Saved to Pocket
# LOCALIZATION NOTE(type_label_open): Open is an adjective, as in "page is open"
type_label_open=Open
type_label_topic=Topic
type_label_now=Now
# LOCALIZATION NOTE (menu_action_*): These strings are displayed in a context
# menu and are meant as a call to action for a given page.
@ -45,8 +29,6 @@ type_label_now=Now
# bookmarks"
menu_action_bookmark=Bookmark
menu_action_remove_bookmark=Remove Bookmark
menu_action_copy_address=Copy Address
menu_action_email_link=Email Link…
menu_action_open_new_window=Open in a New Window
menu_action_open_private_window=Open in a New Private Window
menu_action_dismiss=Dismiss
@ -62,12 +44,6 @@ menu_action_save_to_pocket=Save to Pocket
menu_action_delete_pocket=Delete from Pocket
menu_action_archive_pocket=Archive in Pocket
# LOCALIZATION NOTE (search_for_something_with): {search_term} is a placeholder
# for what the user has typed in the search input field, e.g. 'Search for ' +
# search_term + 'with:' becomes 'Search for abc with:'
# The search engine name is displayed as an icon and does not need a translation
search_for_something_with=Search for {search_term} with:
# LOCALIZATION NOTE (search_button): This is screenreader only text for the
# search button.
search_button=Search
@ -80,9 +56,6 @@ search_header={search_engine_name} Search
# LOCALIZATION NOTE (search_web_placeholder): This is shown in the searchbox when
# the user hasn't typed anything yet.
search_web_placeholder=Search the Web
search_settings=Change Search Settings
section_info_send_feedback=Send Feedback
# LOCALIZATION NOTE (section_disclaimer_topstories): This is shown below
# the topstories section title to provide additional information about
@ -93,19 +66,6 @@ section_disclaimer_topstories_linktext=Learn how it works.
# the button used to acknowledge, and hide this disclaimer in the future.
section_disclaimer_topstories_buttontext=Okay, got it
# LOCALIZATION NOTE (welcome_*): This is shown as a modal dialog, typically on a
# first-run experience when there's no data to display yet
welcome_title=Welcome to new tab
welcome_body=Firefox will use this space to show your most relevant bookmarks, articles, videos, and pages youve recently visited, so you can get back to them easily.
welcome_label=Identifying your Highlights
# LOCALIZATION NOTE (time_label_*): {number} is a placeholder for a number which
# represents a shortened timestamp format, e.g. '10m' means '10 minutes ago'.
time_label_less_than_minute=<1m
time_label_minute={number}m
time_label_hour={number}h
time_label_day={number}d
# LOCALIZATION NOTE (prefs_*, settings_*): These are shown in about:preferences
# for a "Firefox Home" section. "Firefox" should be treated as a brand and kept
# in English, while "Home" should be localized matching the about:preferences
@ -135,8 +95,6 @@ settings_pane_search_body=Search the Web from your new tab.
settings_pane_topsites_header=Top Sites
settings_pane_topsites_body=Access the websites you visit most.
settings_pane_topsites_options_showmore=Show two rows
settings_pane_bookmarks_header=Recent Bookmarks
settings_pane_visit_again_header=Visit Again
settings_pane_highlights_header=Highlights
settings_pane_highlights_body2=Find your way back to interesting things youve recently visited or bookmarked.
settings_pane_highlights_options_bookmarks=Bookmarks

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

@ -10,7 +10,7 @@ const DEFAULT_PROPS = {
title: "Cool Section",
prefName: "collapseSection",
Prefs: {values: {collapseSection: false}},
disclaimer: {text: {id: "default_label_loading"}, link: {id: "menu_action_email_link"}, button: {id: "search_button"}},
disclaimer: {text: {id: "section_disclaimer_topstories_linktext"}, link: {id: "menu_action_remove_bookmark"}, button: {id: "search_button"}},
document: {
addEventListener: () => {},
removeEventListener: () => {},

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

@ -60,7 +60,7 @@ describe("<PreferencesPane>", () => {
icon: "icon-info"
}, {
name: "nestedPref2",
titleString: {id: "welcome_title", values: {}},
titleString: {id: "newtab_page_title", values: {}},
icon: "icon-info"
}
]