Commit 2e348902 authored by Dmitry Iljinskiy's avatar Dmitry Iljinskiy Committed by Commit Bot

Remove unused strings related to Print Preview

Change-Id: I69146b9a9a0bc750f37ef87083c146a62044018e
Reviewed-on: https://chromium-review.googlesource.com/c/1349949Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611867}
parent 76d5ab7c
......@@ -85,20 +85,10 @@
<message name="IDS_PRINT_PREVIEW_EXAMPLE_PAGE_RANGE_TEXT" desc="Example page range text.">
e.g. 1-5, 8, 11-13
</message>
<message name="IDS_PRINT_PREVIEW_PAGE_RANGE_TEXT" desc="Aria-label page range text.">
page range text box
</message>
<message name="IDS_PRINT_PREVIEW_PAGE_RANGE_RADIO" desc="Aria-label page range radio.">
page range radio button
</message>
<message name="IDS_PRINT_PREVIEW_PRINT_TO_PDF"
desc="Option shown on printer drop-down list for saving previewed document as a PDF.">
Save as PDF
</message>
<message name="IDS_PRINT_PREVIEW_PRINT_WITH_CLOUD_PRINT_WAIT"
desc="Message shown in the print preview page after choosing cloud print before the dialog displays">
Loading <ph name="CLOUD_PRINT_NAME">$1<ex>Google Cloud Print</ex></ph>
</message>
<message name="IDS_PRINT_PREVIEW_SUMMARY_FORMAT_LONG" desc="Print summary, explaining to the user how many pages will be printed.">
Total: <ph name="NUMBER_OF_SHEETS">$1<ex>10</ex></ph> <ph name="SHEETS_LABEL">$2<ex>sheets of paper</ex></ph> (<ph name="NUMBER_OF_PAGES">$3<ex>4</ex></ph> <ph name="PAGE_OR_PAGES_LABEL">$4<ex>Pages</ex></ph>)
</message>
......
......@@ -214,10 +214,6 @@ void AddPrintPreviewStrings(content::WebUIDataSource* source) {
source->AddLocalizedString("optionTwoSided",
IDS_PRINT_PREVIEW_OPTION_TWO_SIDED);
source->AddLocalizedString("pagesLabel", IDS_PRINT_PREVIEW_PAGES_LABEL);
source->AddLocalizedString("pageRangeTextBox",
IDS_PRINT_PREVIEW_PAGE_RANGE_TEXT);
source->AddLocalizedString("pageRangeRadio",
IDS_PRINT_PREVIEW_PAGE_RANGE_RADIO);
source->AddLocalizedString("printToPDF", IDS_PRINT_PREVIEW_PRINT_TO_PDF);
source->AddLocalizedString("printPreviewSummaryFormatShort",
IDS_PRINT_PREVIEW_SUMMARY_FORMAT_SHORT);
......@@ -244,14 +240,6 @@ void AddPrintPreviewStrings(content::WebUIDataSource* source) {
source->AddLocalizedString(
"resolveExtensionUSBErrorMessage",
IDS_PRINT_PREVIEW_RESOLVE_EXTENSION_USB_ERROR_MESSAGE);
source->AddString(
"printWithCloudPrintWait",
l10n_util::GetStringFUTF16(
IDS_PRINT_PREVIEW_PRINT_WITH_CLOUD_PRINT_WAIT,
l10n_util::GetStringUTF16(IDS_GOOGLE_CLOUD_PRINT)));
source->AddString(
"noDestsPromoLearnMoreUrl",
chrome::kCloudPrintNoDestinationsLearnMoreURL);
source->AddString(
"settingsPrintingPage",
chrome::GetSettingsUrl(chrome::kPrintingSettingsSubPage).spec());
......
......@@ -103,9 +103,6 @@ const char kCloudPrintCertificateErrorLearnMoreURL[] =
"cloudprint?p=cloudprint_error_offline_linux";
#endif
const char kCloudPrintNoDestinationsLearnMoreURL[] =
"https://www.google.com/cloudprint/learn/";
const char kContentSettingsExceptionsLearnMoreURL[] =
"https://support.google.com/chrome/?p=settings_manage_exceptions";
......
......@@ -101,9 +101,6 @@ extern const char kCloudPrintLearnMoreURL[];
// "Learn more" URL for the Cloud Print Preview certificate error.
extern const char kCloudPrintCertificateErrorLearnMoreURL[];
// "Learn more" URL for the Cloud Print Preview No Destinations Promotion.
extern const char kCloudPrintNoDestinationsLearnMoreURL[];
extern const char kContentSettingsExceptionsLearnMoreURL[];
// "Learn more" URL for "Aw snap" page when showing "Reload" button.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment