diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 20:02:01 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 20:02:01 +0000 |
commit | a5d8fac6d37dec61810f55c6f49790644053e88f (patch) | |
tree | 963004a074c6d8625fcea032d6eb93b14421c5d0 /views/window/dialog_client_view.cc | |
parent | da1d2295239c4eeffab4983e5a3751da40777fe8 (diff) | |
download | chromium_src-a5d8fac6d37dec61810f55c6f49790644053e88f.zip chromium_src-a5d8fac6d37dec61810f55c6f49790644053e88f.tar.gz chromium_src-a5d8fac6d37dec61810f55c6f49790644053e88f.tar.bz2 |
Make views/ use strings from app_strings.
http://crbug.com/11387
Review URL: http://codereview.chromium.org/113612
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16512 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/dialog_client_view.cc')
-rw-r--r-- | views/window/dialog_client_view.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/window/dialog_client_view.cc b/views/window/dialog_client_view.cc index 5a36830..9650f26 100644 --- a/views/window/dialog_client_view.cc +++ b/views/window/dialog_client_view.cc @@ -13,7 +13,7 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/gfx/native_theme.h" -#include "grit/generated_resources.h" +#include "grit/app_strings.h" #include "views/controls/button/native_button.h" #include "views/standard_layout.h" #include "views/window/dialog_delegate.h" @@ -109,7 +109,7 @@ void DialogClientView::ShowDialogButtons() { std::wstring label = dd->GetDialogButtonLabel(MessageBoxFlags::DIALOGBUTTON_OK); if (label.empty()) - label = l10n_util::GetString(IDS_OK); + label = l10n_util::GetString(IDS_APP_OK); bool is_default_button = (dd->GetDefaultDialogButton() & MessageBoxFlags::DIALOGBUTTON_OK) != 0; ok_button_ = new DialogButton(this, window(), @@ -127,9 +127,9 @@ void DialogClientView::ShowDialogButtons() { dd->GetDialogButtonLabel(MessageBoxFlags::DIALOGBUTTON_CANCEL); if (label.empty()) { if (buttons & MessageBoxFlags::DIALOGBUTTON_OK) { - label = l10n_util::GetString(IDS_CANCEL); + label = l10n_util::GetString(IDS_APP_CANCEL); } else { - label = l10n_util::GetString(IDS_CLOSE); + label = l10n_util::GetString(IDS_APP_CLOSE); } } bool is_default_button = |