Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6404)

Unified Diff: chrome/browser/ui/webui/print_preview_ui_html_source.cc

Issue 7038028: Initial support for cloudprint in print preview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bad merge Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/print_preview_ui_html_source.cc
diff --git a/chrome/browser/ui/webui/print_preview_ui_html_source.cc b/chrome/browser/ui/webui/print_preview_ui_html_source.cc
index 7dad069677068dbf9886ed96881f6ae5c082512e..46e768e899eaed5b464b03263dcc4bd6ac0b778f 100644
--- a/chrome/browser/ui/webui/print_preview_ui_html_source.cc
+++ b/chrome/browser/ui/webui/print_preview_ui_html_source.cc
@@ -28,6 +28,8 @@ void SetLocalizedStrings(DictionaryValue* localized_strings) {
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_TITLE));
localized_strings->SetString(std::string("loading"),
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_LOADING));
+ localized_strings->SetString(std::string("loadingPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_LOADING_PRINTERS));
#if defined(GOOGLE_CHROME_BUILD)
localized_strings->SetString(std::string("noPlugin"),
l10n_util::GetStringFUTF8(IDS_PRINT_PREVIEW_NO_PLUGIN,
@@ -102,8 +104,20 @@ void SetLocalizedStrings(DictionaryValue* localized_strings) {
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_PAGE_RANGE_INSTRUCTION));
localized_strings->SetString(std::string("copiesInstruction"),
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_COPIES_INSTRUCTION));
- localized_strings->SetString(std::string("managePrinters"),
- l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MANAGE_PRINTERS));
+ localized_strings->SetString(std::string("signIn"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_SIGN_IN));
+ localized_strings->SetString(std::string("morePrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MORE_PRINTERS));
+ localized_strings->SetString(std::string("addCloudPrinter"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_ADD_CLOUD_PRINTER));
+ localized_strings->SetString(std::string("cloudPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_CLOUD_PRINTERS));
+ localized_strings->SetString(std::string("localPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_LOCAL_PRINTERS));
+ localized_strings->SetString(std::string("manageCloudPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MANAGE_CLOUD_PRINTERS));
+ localized_strings->SetString(std::string("manageLocalPrinters"),
+ l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_MANAGE_LOCAL_PRINTERS));
localized_strings->SetString(std::string("didYouMean"),
l10n_util::GetStringUTF8(IDS_PRINT_PREVIEW_DID_YOU_MEAN));
}

Powered by Google App Engine
This is Rietveld 408576698