Index: chrome/browser/autofill/fax_field.cc |
diff --git a/chrome/browser/autofill/fax_field.cc b/chrome/browser/autofill/fax_field.cc |
index 80e25cba001365e517725bcdd800f6f0bd534a49..8475730190defd2bb13d8d6a2b96a5114a31f065 100644 |
--- a/chrome/browser/autofill/fax_field.cc |
+++ b/chrome/browser/autofill/fax_field.cc |
@@ -4,18 +4,23 @@ |
#include "chrome/browser/autofill/fax_field.h" |
+#include "app/l10n_util.h" |
#include "base/logging.h" |
#include "base/scoped_ptr.h" |
#include "base/utf_string_conversions.h" |
#include "chrome/browser/autofill/autofill_field.h" |
+#include "grit/autofill_resources.h" |
// static |
FaxField* FaxField::Parse(std::vector<AutoFillField*>::const_iterator* iter) { |
DCHECK(iter); |
scoped_ptr<FaxField> fax_field(new FaxField); |
- if (ParseText(iter, ASCIIToUTF16("fax"), &fax_field->number_)) |
+ if (ParseText(iter, |
+ l10n_util::GetStringUTF16(IDS_AUTOFILL_FAX_RE), |
+ &fax_field->number_)) { |
return fax_field.release(); |
+ } |
return NULL; |
} |