Skip to content

Commit

Permalink
Update content on /verify/
Browse files Browse the repository at this point in the history
  • Loading branch information
gemfarmer committed May 10, 2017
1 parent fb96867 commit d301c2d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/controllers/verify/review_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def create

def flash_message_content
if idv_session.address_verification_mechanism == 'usps'
t('idv.titles.verify_mail')
t('idv.messages.mail_sent')
else
phone_of_record_msg = ActionController::Base.helpers.content_tag(
:strong, t('idv.messages.phone.phone_of_record')
Expand Down
8 changes: 4 additions & 4 deletions config/locales/idv/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ en:
continue: Continue identity verification
cancel: Cancel and return to your profile
help: Continue to Help Center
send_letter: Send letter
send_letter: Send a letter
cancel:
modal_header: Are you sure you want to cancel?
warning_header: If you cancel now
Expand Down Expand Up @@ -125,6 +125,7 @@ en:
hardfail: We can’t verify your identity right now.
hardfail4: You can also go to %{sp} for more help in accessing services.
help_center: Visit our Help Center to learn more about verifying your account.
mail_sent: Your letter is on its way
phone:
alert: This phone line must be
in_your_name: in your name or a family member's name
Expand Down Expand Up @@ -153,8 +154,7 @@ en:
no_pii: Do not use real personal information (demo purposes only)
usps:
bad_address: I can't get mail at this address
byline: We will mail a letter with a confirmation code to your verified
address on file.
byline: To activate by mail, we will mail a letter with a confirmation code to your street address.
success: It should arrive in 5 to 10 business days.
personal_details_verified: Personal details verified!
modal:
Expand Down Expand Up @@ -205,4 +205,4 @@ en:
session:
phone: Get a code by telephone
review: Encrypt your verified data by entering your password
verify_mail: Your letter is on its way
verify_mail: Want a letter?
1 change: 1 addition & 0 deletions config/locales/idv/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ es:
hardfail: NOT TRANSLATED YET
hardfail4: NOT TRANSLATED YET
help_center: NOT TRANSLATED YET
mail_sent: NOT TRANSLATED YET
phone:
alert: NOT TRANSLATED YET
in_your_name: NOT TRANSLATED YET
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/verify/review_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def show
get :new

expect(flash.now[:success]).to eq(
t('idv.titles.verify_mail')
t('idv.messages.mail_sent')
)
end
end
Expand Down

0 comments on commit d301c2d

Please sign in to comment.