diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-14 19:27:10 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-14 19:27:10 +0000 |
commit | 2d9c9290a6259cb877f15132b42255bb32e70b07 (patch) | |
tree | 99895b472cf3cee19bf6dc74148c2f304a9e8b25 | |
parent | 9705f8af5dc63279c10d6c0809e547a8299d03cc (diff) | |
download | chromium_src-2d9c9290a6259cb877f15132b42255bb32e70b07.zip chromium_src-2d9c9290a6259cb877f15132b42255bb32e70b07.tar.gz chromium_src-2d9c9290a6259cb877f15132b42255bb32e70b07.tar.bz2 |
rAc - Change string for when libaddressinput rules are still downloading
BUG=340365
Review URL: https://codereview.chromium.org/165203002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251389 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/app/generated_resources.grd | 3 | ||||
-rw-r--r-- | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 1ce0209..2f772bb 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -10886,6 +10886,9 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr <message name="IDS_AUTOFILL_DIALOG_VALIDATION_INVALID_PHONE_NUMBER" desc="Message displayed to user when phone number validation fails."> Invalid phone number. Please check and try again. </message> + <message name="IDS_AUTOFILL_DIALOG_VALIDATION_WAITING_FOR_RULES" desc="Message displayed to user when validation rules are still downloading."> + Validating... + </message> <!-- Autofill dialog post-submit bubbles --> <message name="IDS_AUTOFILL_GENERATED_CREDIT_CARD_BUBBLE_TITLE" desc="Title of a bubble shown directly after a new card has been generated via Online Wallet using the Autofill dialog."> diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc index 2228ccb..a6bf4ea 100644 --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc @@ -1880,8 +1880,8 @@ ValidityMessages AutofillDialogControllerImpl::InputsAreValid( AutofillType(type).group() == ADDRESS_BILLING)) { DCHECK(text.empty()); // TODO(estade): string translation or remove this (sweet) hack. - text = base::ASCIIToUTF16("Sorry, Chrome failed to validate this field. " - "Please wait and try again."); + text = l10n_util::GetStringUTF16( + IDS_AUTOFILL_DIALOG_VALIDATION_WAITING_FOR_RULES); sure = false; needs_validation_.insert(section); } |