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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 12220130: i18n for placeholders in requestAutocomplete dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 7 years, 10 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
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 29de04e311a827e2d5ebc1a1e8806ce311b48153..50cd3a986ab1257130f7b3404d955bc32b1e59f2 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -16,6 +16,7 @@
#include "content/public/browser/web_contents.h"
#include "grit/theme_resources.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/combobox_model.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/canvas.h"
@@ -860,7 +861,7 @@ views::View* AutofillDialogViews::InitInputsView(DialogSection section) {
} else {
DecoratedTextfield* field = new DecoratedTextfield(
input.autofilled_value,
- ASCIIToUTF16(input.placeholder_text),
+ l10n_util::GetStringUTF16(input.placeholder_text_rid),
this);
textfields->insert(std::make_pair(&input, field));
layout->AddView(field);
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698