Use standard translation

#623
This commit is contained in:
Artur Beljajev 2018-03-13 11:45:04 +02:00
parent beba81bc6d
commit a2c919b0fd
3 changed files with 4 additions and 6 deletions

View file

@ -20,11 +20,11 @@
%tfoot
%tr
%th{colspan: 3}
%th= t(:total_without_vat)
%th= Invoice.human_attribute_name :subtotal
%td= currency(@invoice.subtotal)
%tr
%th.no-border{colspan: 3}
%th= t('vat', rate: vat_rate(@invoice.vat_rate))
%th= "VAT #{vat_rate(@invoice.vat_rate)}"
%td= currency(@invoice.vat)
%tr
%th.no-border{colspan: 3}

View file

@ -238,11 +238,11 @@
%tfoot
%tr
%th{colspan: 3}
%th= t(:total_without_vat)
%th= Invoice.human_attribute_name :subtotal
%td= "#{currency(@invoice.subtotal)} #{@invoice.currency}"
%tr
%th.no-border{colspan: 3}
%th= t('vat', rate: vat_rate(@invoice.vat_rate))
%th= "VAT #{vat_rate(@invoice.vat_rate)}"
%td= "#{currency(@invoice.vat)} #{@invoice.currency}"
%tr
%th.no-border{colspan: 3}

View file

@ -543,7 +543,6 @@ en:
invoice_number: Invoice no.
seller: 'Seller'
prepayment: 'Prepayment'
vat: 'VAT (%{rate})'
unpaid: 'Unpaid'
your_current_account_balance_is: 'Your current account balance is %{balance} %{currency}'
billing: 'Billing'
@ -561,7 +560,6 @@ en:
unit: 'Unit'
price: 'Price'
total: 'Total'
total_without_vat: 'Total without VAT'
paid_at: 'Paid at'
invoice: 'Invoice'
bank_statements: 'Bank statements'