Skip to content

Commit

Permalink
Alt text for image_submit_tag
Browse files Browse the repository at this point in the history
Alt text with localization options
  • Loading branch information
buddhi-desilva committed Dec 28, 2011
1 parent 918e258 commit 4459a6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/spree/checkout/_paypal_checkout.html.erb
Expand Up @@ -51,6 +51,6 @@
<% end %>
<% end %>
<%= image_submit_tag "pp_checkout.gif" %>
<%= image_submit_tag "pp_checkout.gif", :alt => t(:check_out_with_paypal) %>
<% end -%>
3 changes: 2 additions & 1 deletion config/locales/en.yml
Expand Up @@ -4,4 +4,5 @@ en:
please_enter_valid_zip: "Please enter a valid zipcode."
zip_code_if_you_have_one: "Zipcode (if you have one)"
payment_failure: "Payment Failure"
payment_pending: "Payment Pending"
payment_pending: "Payment Pending"
check_out_with_paypal: "Check out with PayPal"

0 comments on commit 4459a6b

Please sign in to comment.