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

Unified Diff: chrome/browser/chromeos/login/new_user_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
Index: chrome/browser/chromeos/login/new_user_view.cc
===================================================================
--- chrome/browser/chromeos/login/new_user_view.cc (revision 70736)
+++ chrome/browser/chromeos/login/new_user_view.cc (working copy)
@@ -277,20 +277,23 @@
}
void NewUserView::UpdateLocalizedStrings() {
- title_label_->SetText(l10n_util::GetString(IDS_LOGIN_TITLE));
- title_hint_label_->SetText(l10n_util::GetString(IDS_LOGIN_TITLE_HINT));
+ title_label_->SetText(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_LOGIN_TITLE)));
+ title_hint_label_->SetText(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_LOGIN_TITLE_HINT)));
username_field_->set_text_to_display_when_empty(
l10n_util::GetStringUTF16(IDS_LOGIN_USERNAME));
password_field_->set_text_to_display_when_empty(
l10n_util::GetStringUTF16(IDS_LOGIN_PASSWORD));
- sign_in_button_->SetLabel(l10n_util::GetString(IDS_LOGIN_BUTTON));
+ sign_in_button_->SetLabel(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_LOGIN_BUTTON)));
if (need_create_account_) {
create_account_link_->SetText(
- l10n_util::GetString(IDS_CREATE_ACCOUNT_BUTTON));
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_CREATE_ACCOUNT_BUTTON)));
}
if (need_guest_link_) {
- guest_link_->SetText(
- l10n_util::GetString(IDS_BROWSE_WITHOUT_SIGNING_IN_BUTTON));
+ guest_link_->SetText(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_BROWSE_WITHOUT_SIGNING_IN_BUTTON)));
}
delegate_->ClearErrors();
languages_menubutton_->SetText(
« no previous file with comments | « chrome/browser/chromeos/login/network_selection_view.cc ('k') | chrome/browser/chromeos/login/oobe_progress_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698