summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 20:41:45 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 20:41:45 +0000
commit210e6513fc9ddbf0538bcee31f9a9a3f581902fd (patch)
treef26ee614c6f651d45ce9d2215198a9b16594b8f4
parent5fe145e46185045ee9d6b2523c8c852197b32031 (diff)
downloadchromium_src-210e6513fc9ddbf0538bcee31f9a9a3f581902fd.zip
chromium_src-210e6513fc9ddbf0538bcee31f9a9a3f581902fd.tar.gz
chromium_src-210e6513fc9ddbf0538bcee31f9a9a3f581902fd.tar.bz2
AutoFill: Capitalize "Options" in the AutoFill dialog title.
BUG=50378 TEST=none Review URL: http://codereview.chromium.org/3018026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54183 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/generated_resources.grd10
-rw-r--r--chrome/app/nibs/AutoFillDialog.xib2
-rw-r--r--chrome/browser/autofill/autofill_dialog_gtk.cc2
-rw-r--r--chrome/browser/views/autofill_profiles_view_win.cc2
4 files changed, 11 insertions, 5 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index d29b9ae..9ddd479 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -5712,12 +5712,18 @@ Keep your key file in a safe place. You will need it to create new versions of y
Clear form
</message>
<if expr="os != 'darwin'">
- <message name="IDS_AUTOFILL_OPTIONS" desc="The title of the AutoFill dialog.">
+ <message name="IDS_AUTOFILL_OPTIONS_TITLE" desc="The title of the AutoFill dialog.">
+ AutoFill Options
+ </message>
+ <message name="IDS_AUTOFILL_OPTIONS" desc="The value of the AutoFill options menu entry and button.">
AutoFill options
</message>
</if>
<if expr="os == 'darwin'">
- <message name="IDS_AUTOFILL_OPTIONS" desc="The title of the AutoFill dialog.">
+ <message name="IDS_AUTOFILL_OPTIONS_TITLE" desc="The title of the AutoFill dialog.">
+ AutoFill Preferences
+ </message>
+ <message name="IDS_AUTOFILL_OPTIONS" desc="The value of the AutoFill options menu entry and button.">
AutoFill preferences
</message>
</if>
diff --git a/chrome/app/nibs/AutoFillDialog.xib b/chrome/app/nibs/AutoFillDialog.xib
index f7edaa9..f2fdbee 100644
--- a/chrome/app/nibs/AutoFillDialog.xib
+++ b/chrome/app/nibs/AutoFillDialog.xib
@@ -43,7 +43,7 @@
<int key="NSWindowBacking">2</int>
<string key="NSWindowRect">{{1022, 804}, {570, 401}}</string>
<int key="NSWTFlags">544735232</int>
- <string key="NSWindowTitle">^IDS_AUTOFILL_OPTIONS</string>
+ <string key="NSWindowTitle">^IDS_AUTOFILL_OPTIONS_TITLE</string>
<string key="NSWindowClass">NSWindow</string>
<nil key="NSViewClass"/>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
diff --git a/chrome/browser/autofill/autofill_dialog_gtk.cc b/chrome/browser/autofill/autofill_dialog_gtk.cc
index ec8a1fe..0616d27 100644
--- a/chrome/browser/autofill/autofill_dialog_gtk.cc
+++ b/chrome/browser/autofill/autofill_dialog_gtk.cc
@@ -442,7 +442,7 @@ void AutoFillDialog::LoadAutoFillData() {
void AutoFillDialog::InitializeWidgets() {
dialog_ = gtk_dialog_new_with_buttons(
- l10n_util::GetStringUTF8(IDS_AUTOFILL_OPTIONS).c_str(),
+ l10n_util::GetStringUTF8(IDS_AUTOFILL_OPTIONS_TITLE).c_str(),
// AutoFill dialog is shared between all browser windows.
NULL,
// Non-modal.
diff --git a/chrome/browser/views/autofill_profiles_view_win.cc b/chrome/browser/views/autofill_profiles_view_win.cc
index d054d79..4eebad2 100644
--- a/chrome/browser/views/autofill_profiles_view_win.cc
+++ b/chrome/browser/views/autofill_profiles_view_win.cc
@@ -306,7 +306,7 @@ bool AutoFillProfilesView::IsDialogButtonEnabled(
std::wstring AutoFillProfilesView::GetWindowTitle() const {
- return l10n_util::GetString(IDS_AUTOFILL_OPTIONS);
+ return l10n_util::GetString(IDS_AUTOFILL_OPTIONS_TITLE);
}
void AutoFillProfilesView::WindowClosing() {