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

Unified Diff: chrome/browser/chromeos/options/options_window_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/options/options_window_view.cc
===================================================================
--- chrome/browser/chromeos/options/options_window_view.cc (revision 70736)
+++ chrome/browser/chromeos/options/options_window_view.cc (working copy)
@@ -213,8 +213,9 @@
// OptionsWindowView, views::DialogDelegate implementation:
std::wstring OptionsWindowView::GetWindowTitle() const {
- return l10n_util::GetStringF(IDS_OPTIONS_DIALOG_TITLE,
- l10n_util::GetString(IDS_PRODUCT_NAME));
+ return UTF16ToWide(
+ l10n_util::GetStringFUTF16(IDS_OPTIONS_DIALOG_TITLE,
+ l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)));
}
void OptionsWindowView::WindowClosing() {
@@ -300,30 +301,35 @@
system_page->set_background(views::Background::CreateSolidBackground(
SK_ColorWHITE));
tabs_->AddTabAtIndex(tab_index++,
- l10n_util::GetString(IDS_OPTIONS_SYSTEM_TAB_LABEL),
+ UTF16ToWide(l10n_util::GetStringUTF16(
+ IDS_OPTIONS_SYSTEM_TAB_LABEL)),
system_page, false);
InternetPageView* internet_page = new InternetPageView(profile_);
internet_page->set_background(views::Background::CreateSolidBackground(
SK_ColorWHITE));
tabs_->AddTabAtIndex(tab_index++,
- l10n_util::GetString(IDS_OPTIONS_INTERNET_TAB_LABEL),
+ UTF16ToWide(l10n_util::GetStringUTF16(
+ IDS_OPTIONS_INTERNET_TAB_LABEL)),
internet_page, false);
tabs_->AddTabAtIndex(tab_index++,
- l10n_util::GetString(IDS_OPTIONS_GENERAL_TAB_LABEL),
+ UTF16ToWide(l10n_util::GetStringUTF16(
+ IDS_OPTIONS_GENERAL_TAB_LABEL)),
new GtkPreferencePageHost(
general_page_.get_page_widget()),
false);
tabs_->AddTabAtIndex(tab_index++,
- l10n_util::GetString(IDS_OPTIONS_CONTENT_TAB_LABEL),
+ UTF16ToWide(l10n_util::GetStringUTF16(
+ IDS_OPTIONS_CONTENT_TAB_LABEL)),
new GtkPreferencePageHost(
content_page_.get_page_widget()),
false);
tabs_->AddTabAtIndex(tab_index++,
- l10n_util::GetString(IDS_OPTIONS_ADVANCED_TAB_LABEL),
+ UTF16ToWide(l10n_util::GetStringUTF16(
+ IDS_OPTIONS_ADVANCED_TAB_LABEL)),
new GtkPreferencePageHost(
advanced_page_.get_page_widget()),
false);
« no previous file with comments | « chrome/browser/chromeos/options/network_config_view.cc ('k') | chrome/browser/chromeos/options/settings_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698