Index: chrome/browser/autofill/form_field.cc |
diff --git a/chrome/browser/autofill/form_field.cc b/chrome/browser/autofill/form_field.cc |
index 6bf3e24e9a87234aac81d9614caefcf46e56999a..545ce1b2eceaec5905e8e221e4a49e511b435120 100644 |
--- a/chrome/browser/autofill/form_field.cc |
+++ b/chrome/browser/autofill/form_field.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/autofill/form_field.h" |
+#include "app/l10n_util.h" |
#include "base/string_util.h" |
#include "base/utf_string_conversions.h" |
#include "chrome/browser/autofill/address_field.h" |
@@ -14,6 +15,7 @@ |
#include "chrome/browser/autofill/phone_field.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebRegularExpression.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
+#include "grit/autofill_resources.h" |
// Field names from the ECML specification; see RFC 3106. We've |
// made these names lowercase since we convert labels and field names to |
@@ -89,7 +91,7 @@ class EmailField : public FormField { |
if (is_ecml) { |
pattern = GetEcmlPattern(kEcmlShipToEmail, kEcmlBillToEmail, '|'); |
} else { |
- pattern = ASCIIToUTF16("email|e-mail"); |
+ pattern = l10n_util::GetStringUTF16(IDS_AUTOFILL_EMAIL_RE); |
} |
AutoFillField* field; |