i18n-ing paypal payer_statuses

Fixes #110
Fixes #111
This commit is contained in:
Joaquin Rivera Padron 2013-01-03 19:29:25 -03:00 committed by Ryan Bigg
parent 55668e8aeb
commit ee7fcbd2e4
3 changed files with 9 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<% if order.payment && order.payment.source.class.to_s == 'Spree::PaypalAccount' %>
<span class="cc-type">
<%= image_tag "paypal.png" %>
<%= order.payment.source.payer_status.to_s.capitalize %>
<%= t("paypal_payer_statuses.#{order.payment.source.payer_status.to_s}").capitalize %>
</span>
<br />
<span class="full-name">

View File

@ -19,6 +19,9 @@ en:
payer_id: Payer ID
payer_country: Country
payer_status: Status
paypal_payer_statuses:
verified: verified
unverified: unverified
comment: Comment
account_details: Account Details
finalize:

5
config/locales/es.yml Normal file
View File

@ -0,0 +1,5 @@
---
es:
paypal_payer_statuses:
verified: verificado
unverified: no verificado