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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/eula_screen_handler.cc

Issue 376733005: improve translateability of some OOBE strings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/chromeos/login/help_app_launcher.h" 10 #include "chrome/browser/chromeos/login/help_app_launcher.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 void EulaScreenHandler::SetDelegate(Delegate* delegate) { 108 void EulaScreenHandler::SetDelegate(Delegate* delegate) {
109 delegate_ = delegate; 109 delegate_ = delegate;
110 if (page_is_ready()) 110 if (page_is_ready())
111 Initialize(); 111 Initialize();
112 } 112 }
113 113
114 void EulaScreenHandler::DeclareLocalizedValues( 114 void EulaScreenHandler::DeclareLocalizedValues(
115 LocalizedValuesBuilder* builder) { 115 LocalizedValuesBuilder* builder) {
116 builder->Add("eulaScreenTitle", IDS_EULA_SCREEN_TITLE); 116 builder->Add("eulaScreenTitle", IDS_EULA_SCREEN_TITLE);
117 builder->AddF("eulaScreenAccessibleTitle", 117 builder->Add("eulaScreenAccessibleTitle", IDS_EULA_SCREEN_ACCESSIBLE_TITLE);
118 IDS_EULA_SCREEN_ACCESSIBLE_TITLE,
119 IDS_PRODUCT_OS_NAME);
120 builder->Add("checkboxLogging", IDS_EULA_CHECKBOX_ENABLE_LOGGING); 118 builder->Add("checkboxLogging", IDS_EULA_CHECKBOX_ENABLE_LOGGING);
121 builder->Add("back", IDS_EULA_BACK_BUTTON); 119 builder->Add("back", IDS_EULA_BACK_BUTTON);
122 builder->Add("acceptAgreement", IDS_EULA_ACCEPT_AND_CONTINUE_BUTTON); 120 builder->Add("acceptAgreement", IDS_EULA_ACCEPT_AND_CONTINUE_BUTTON);
123 builder->Add("eulaSystemInstallationSettings", 121 builder->Add("eulaSystemInstallationSettings",
124 IDS_EULA_SYSTEM_SECURITY_SETTING); 122 IDS_EULA_SYSTEM_SECURITY_SETTING);
125 builder->Add("eulaTpmDesc", IDS_EULA_TPM_DESCRIPTION); 123 builder->Add("eulaTpmDesc", IDS_EULA_TPM_DESCRIPTION);
126 builder->Add("eulaTpmKeyDesc", IDS_EULA_TPM_KEY_DESCRIPTION); 124 builder->Add("eulaTpmKeyDesc", IDS_EULA_TPM_KEY_DESCRIPTION);
127 builder->Add("eulaTpmDescPowerwash", IDS_EULA_TPM_KEY_DESCRIPTION_POWERWASH); 125 builder->Add("eulaTpmDescPowerwash", IDS_EULA_TPM_KEY_DESCRIPTION_POWERWASH);
128 builder->Add("eulaTpmBusy", IDS_EULA_TPM_BUSY); 126 builder->Add("eulaTpmBusy", IDS_EULA_TPM_BUSY);
129 builder->Add("eulaSystemInstallationSettingsOkButton", IDS_OK); 127 builder->Add("eulaSystemInstallationSettingsOkButton", IDS_OK);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 IDS_ABOUT_VERSION_LICENSE_EULA, 209 IDS_ABOUT_VERSION_LICENSE_EULA,
212 GURL(chrome::kChromeUICreditsURL)); 210 GURL(chrome::kChromeUICreditsURL));
213 } 211 }
214 212
215 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened() { 213 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened() {
216 if (delegate_) 214 if (delegate_)
217 delegate_->InitiatePasswordFetch(); 215 delegate_->InitiatePasswordFetch();
218 } 216 }
219 217
220 } // namespace chromeos 218 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/app/google_chrome_strings.grd ('k') | chrome/browser/ui/webui/chromeos/login/update_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698