summaryrefslogtreecommitdiffstats
path: root/chrome/views/window/dialog_client_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/window/dialog_client_view.cc')
-rw-r--r--chrome/views/window/dialog_client_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/views/window/dialog_client_view.cc b/chrome/views/window/dialog_client_view.cc
index 74e6741..525b989 100644
--- a/chrome/views/window/dialog_client_view.cc
+++ b/chrome/views/window/dialog_client_view.cc
@@ -110,7 +110,7 @@ void DialogClientView::ShowDialogButtons() {
std::wstring label =
dd->GetDialogButtonLabel(MessageBoxFlags::DIALOGBUTTON_OK);
if (label.empty())
- label = l10n_util::GetString(IDS_VIEWS_OK);
+ label = l10n_util::GetString(IDS_OK);
bool is_default_button =
(dd->GetDefaultDialogButton() & MessageBoxFlags::DIALOGBUTTON_OK) != 0;
ok_button_ = new DialogButton(this, window(),
@@ -128,9 +128,9 @@ void DialogClientView::ShowDialogButtons() {
dd->GetDialogButtonLabel(MessageBoxFlags::DIALOGBUTTON_CANCEL);
if (label.empty()) {
if (buttons & MessageBoxFlags::DIALOGBUTTON_OK) {
- label = l10n_util::GetString(IDS_VIEWS_CANCEL);
+ label = l10n_util::GetString(IDS_CANCEL);
} else {
- label = l10n_util::GetString(IDS_VIEWS_CLOSE);
+ label = l10n_util::GetString(IDS_CLOSE);
}
}
bool is_default_button =