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

Unified Diff: chrome/browser/chromeos/login/password_changed_view.cc

Issue 6156001: Remove wstring from l10n_util. Part 8, the last part.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome/browser/chromeos/login/oobe_progress_bar.cc ('k') | chrome/browser/chromeos/login/screen_locker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/password_changed_view.cc
===================================================================
--- chrome/browser/chromeos/login/password_changed_view.cc (revision 70736)
+++ chrome/browser/chromeos/login/password_changed_view.cc (working copy)
@@ -59,7 +59,8 @@
}
std::wstring PasswordChangedView::GetWindowTitle() const {
- return l10n_util::GetString(IDS_LOGIN_PASSWORD_CHANGED_DIALOG_BOX_TITLE);
+ return UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_LOGIN_PASSWORD_CHANGED_DIALOG_BOX_TITLE));
}
gfx::Size PasswordChangedView::GetPreferredSize() {
@@ -86,22 +87,26 @@
// Create controls
title_label_ = new Label();
title_label_->SetFont(title_font);
- title_label_->SetText(l10n_util::GetString(IDS_LOGIN_PASSWORD_CHANGED_TITLE));
+ title_label_->SetText(
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_LOGIN_PASSWORD_CHANGED_TITLE)));
title_label_->SetHorizontalAlignment(Label::ALIGN_LEFT);
description_label_ = new Label();
description_label_->SetText(
- l10n_util::GetString(IDS_LOGIN_PASSWORD_CHANGED_DESC));
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_LOGIN_PASSWORD_CHANGED_DESC)));
description_label_->SetMultiLine(true);
description_label_->SetHorizontalAlignment(Label::ALIGN_LEFT);
full_sync_radio_ = new RadioButton(
- l10n_util::GetString(IDS_LOGIN_PASSWORD_CHANGED_RESET), 0);
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_LOGIN_PASSWORD_CHANGED_RESET)),
+ 0);
full_sync_radio_->set_listener(this);
full_sync_radio_->SetMultiLine(true);
delta_sync_radio_ = new RadioButton(
- l10n_util::GetString(IDS_LOGIN_PASSWORD_CHANGED_MIGRATE), 0);
+ UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_LOGIN_PASSWORD_CHANGED_MIGRATE)),
+ 0);
delta_sync_radio_->set_listener(this);
delta_sync_radio_->SetMultiLine(true);
« no previous file with comments | « chrome/browser/chromeos/login/oobe_progress_bar.cc ('k') | chrome/browser/chromeos/login/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698