Skip to content

Commit

Permalink
add voucher label & correspoding code with translation for order conf…
Browse files Browse the repository at this point in the history
…irmation mailer
  • Loading branch information
kernal053 committed Dec 4, 2024
1 parent ee47750 commit 7c0fa56
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/spree/order_mailer/_order_summary.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
%tr
%td{align: "right", colspan: "3"}
- if adjustment.originator_type == "Voucher"
= "#{t(:voucher)}:"
= "#{adjustment.label}:"
= t(:email_order_summary_voucher_label, code: adjustment.label)
%td{align: "right"}
= adjustment.display_amount
%tr
Expand Down
1 change: 1 addition & 0 deletions config/locales/cy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,7 @@ cy:
email_order_summary_subtotal: "Is-gyfanswm:"
email_order_summary_total: "Cyfanswm:"
email_order_summary_includes_tax: "(yn cynnwys treth):"
email_order_summary_voucher_label: "Taleb (%{code}):"
email_payment_paid: TALWYD
email_payment_not_paid: HEB EI DALU
email_payment_description: Disgrifiad o'r tâl wrth y Ddesg Talu
Expand Down
1 change: 1 addition & 0 deletions config/locales/de_DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2187,6 +2187,7 @@ de_DE:
email_order_summary_subtotal: "Zwischensumme:"
email_order_summary_total: "Gesamt:"
email_order_summary_includes_tax: "(inkl. Steuern):"
email_order_summary_voucher_label: "Gutschein (%{code}):"
email_payment_paid: BEZAHLT
email_payment_not_paid: NICHT BEZAHLT
email_payment_description: 'Hinweise zur Zahlung '
Expand Down
1 change: 1 addition & 0 deletions config/locales/el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2266,6 +2266,7 @@ el:
email_order_summary_subtotal: "ΜΕΡΙΚΟ ΣΥΝΟΛΟ:"
email_order_summary_total: "Σύνολο:"
email_order_summary_includes_tax: "(περιλαμβάνει φόρο):"
email_order_summary_voucher_label: "Κουπόνι (%{code}):"
email_payment_paid: επι πληρώμη
email_payment_not_paid: ΑΠΛΗΡΩΤΟΣ
email_payment_description: Περιγραφή πληρωμής στο ταμείο
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2493,6 +2493,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
email_order_summary_subtotal: "Subtotal:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(includes tax):"
email_order_summary_voucher_label: "Voucher (%{code}):"
email_payment_paid: PAID
email_payment_not_paid: NOT PAID
email_payment_description: Payment Description at Checkout
Expand Down
1 change: 1 addition & 0 deletions config/locales/en_CA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2363,6 +2363,7 @@ en_CA:
email_order_summary_subtotal: "Subtotal:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(includes tax):"
email_order_summary_voucher_label: "Voucher (%{code}):"
email_payment_paid: PAID
email_payment_not_paid: NOT PAID
email_payment_description: Payment Description at Checkout
Expand Down
1 change: 1 addition & 0 deletions config/locales/en_FR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2366,6 +2366,7 @@ en_FR:
email_order_summary_subtotal: "Subtotal:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(includes tax):"
email_order_summary_voucher_label: "Voucher (%{code}):"
email_payment_paid: PAID
email_payment_not_paid: NOT PAID
email_payment_description: Payment Description at Checkout
Expand Down
1 change: 1 addition & 0 deletions config/locales/en_GB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2366,6 +2366,7 @@ en_GB:
email_order_summary_subtotal: "Subtotal:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(includes tax):"
email_order_summary_voucher_label: "Voucher (%{code}):"
email_payment_paid: PAID
email_payment_not_paid: NOT PAID
email_payment_description: Payment Description at Checkout
Expand Down
1 change: 1 addition & 0 deletions config/locales/en_IE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2363,6 +2363,7 @@ en_IE:
email_order_summary_subtotal: "Subtotal:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(includes tax):"
email_order_summary_voucher_label: "Voucher (%{code}):"
email_payment_paid: PAID
email_payment_not_paid: NOT PAID
email_payment_description: Payment Description at Checkout
Expand Down
1 change: 1 addition & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2085,6 +2085,7 @@ es:
email_order_summary_subtotal: "Subtotal:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(incluye impuestos):"
email_order_summary_voucher_label: "Bono (%{code}):"
email_payment_paid: PAGADO
email_payment_not_paid: NO PAGADO
email_payment_description: Descripción de pago de la compra
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2372,6 +2372,7 @@ fr:
email_order_summary_subtotal: "Sous-total:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(dont TVA)"
email_order_summary_voucher_label: "Bon de réduction (%{code}):"
email_payment_paid: RÉGLÉ
email_payment_not_paid: NON RÉGLÉ
email_payment_description: Informations concernant le mode de paiement
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr_BE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2101,6 +2101,7 @@ fr_BE:
email_order_summary_subtotal: "Sous-total:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(dont TVA)"
email_order_summary_voucher_label: "Bon d'achat (%{code}):"
email_payment_paid: RÉGLÉ
email_payment_not_paid: NON RÉGLÉ
email_payment_description: Description du paiement à la caisse
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr_CA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2369,6 +2369,7 @@ fr_CA:
email_order_summary_subtotal: "Sous-total:"
email_order_summary_total: "Total:"
email_order_summary_includes_tax: "(dont Taxe)"
email_order_summary_voucher_label: "Bon de réduction (%{code}):"
email_payment_paid: RÉGLÉ
email_payment_not_paid: NON RÉGLÉ
email_payment_description: Informations concernant le mode de paiement
Expand Down
1 change: 1 addition & 0 deletions config/locales/hi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2179,6 +2179,7 @@ hi:
email_order_summary_subtotal: "उप-योग:"
email_order_summary_total: "कुल:"
email_order_summary_includes_tax: "(टैक्स सहित):"
email_order_summary_voucher_label: "वाउचर (%{code}):"
email_payment_paid: भुगतान किया
email_payment_not_paid: भुगतान नहीं किया गया
email_payment_description: चेकआउट में भुगतान का विवरण
Expand Down
1 change: 1 addition & 0 deletions config/locales/hu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2301,6 +2301,7 @@ hu:
email_order_summary_subtotal: "Részösszeg:"
email_order_summary_total: "Összesen:"
email_order_summary_includes_tax: "(adót tartalmaz):"
email_order_summary_voucher_label: "Kupon (%{code}):"
email_payment_paid: FIZETETT
email_payment_not_paid: NEM FIZETETT
email_payment_description: Fizetési információk
Expand Down
1 change: 1 addition & 0 deletions config/locales/ml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2195,6 +2195,7 @@ ml:
email_order_summary_subtotal: "അകെ തുക:"
email_order_summary_total: "ആകെ:"
email_order_summary_includes_tax: "(നികുതി ഉൾപ്പെടുന്നു):"
email_order_summary_voucher_label: "വൗച്ചർ (%{code}):"
email_payment_paid: പണം നൽകി
email_payment_not_paid: പണം നൽകിയിട്ടില്ല
email_payment_description: ചെക്ക്ഔട്ടിലെ പേയ്മെന്റ് വിവരണം
Expand Down
1 change: 1 addition & 0 deletions config/locales/mr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2103,6 +2103,7 @@ mr:
email_order_summary_subtotal: "सबटोटल:"
email_order_summary_total: "टोटल:"
email_order_summary_includes_tax: "(कर समावेश):"
email_order_summary_voucher_label: "व्हाउचर (%{code}):"
email_payment_paid: पेड
email_payment_not_paid: पैसे दिले नाहीत
email_payment_description: चेकआउटवर पेमेंट वर्णन
Expand Down
1 change: 1 addition & 0 deletions config/locales/nb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2363,6 +2363,7 @@ nb:
email_order_summary_subtotal: "Delsum:"
email_order_summary_total: "Sum:"
email_order_summary_includes_tax: "(inkluderer avgift):"
email_order_summary_voucher_label: "Kupong (%{code}):"
email_payment_paid: BETALT
email_payment_not_paid: IKKE BETALT
email_payment_description: Betalingsbeskrivelse i kassen
Expand Down
1 change: 1 addition & 0 deletions config/locales/pa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2152,6 +2152,7 @@ pa:
email_order_summary_subtotal: "ਉਪ-ਕੁੱਲ:"
email_order_summary_total: "ਕੁੱਲ"
email_order_summary_includes_tax: "(ਟੈਕਸ ਸਮੇਤ):"
email_order_summary_voucher_label: "ਵਾਊਚਰ (%{code}):"
email_payment_paid: ਭੁਗਤਾਨ ਕੀਤਾ ਗਿਆ
email_payment_not_paid: ਭੁਗਤਾਨ ਨਹੀਂ ਕੀਤਾ ਗਿਆ
email_payment_description: ਚੈਕਆਉਟ ਤੇ ਭੁਗਤਾਨ ਦਾ ਵੇਰਵਾ
Expand Down
1 change: 1 addition & 0 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2251,6 +2251,7 @@ ru:
email_order_summary_subtotal: "Итого:"
email_order_summary_total: "Всего:"
email_order_summary_includes_tax: "(включает налог):"
email_order_summary_voucher_label: "Ваучер (%{code}):"
email_payment_paid: ОПЛАЧЕН
email_payment_not_paid: НЕ ОПЛАЧЕН
email_payment_description: Описание Платежа при Оформлении Заказа
Expand Down
1 change: 1 addition & 0 deletions config/locales/sr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2367,6 +2367,7 @@ sr:
email_order_summary_subtotal: "међузбир:"
email_order_summary_total: "Укупно:"
email_order_summary_includes_tax: "(укључује порез):"
email_order_summary_voucher_label: "Ваучер (%{code}):"
email_payment_paid: ПЛАЋЕН
email_payment_not_paid: НЕПЛАЋЕН
email_payment_description: Опис плаћања на благајни
Expand Down

0 comments on commit 7c0fa56

Please sign in to comment.