Update translations

This commit is contained in:
Matt-Yorkley
2020-05-21 18:16:56 +02:00
parent 7efccac7bb
commit 95686eda78
2 changed files with 8 additions and 3 deletions

View File

@@ -3,9 +3,9 @@
.sidebar
.cart-header
%span.title
5 items in your cart
= t('.items_in_cart', num: "{{ Cart.total_item_count() }}")
%a.close{ng: {click: 'toggleCartSidebar()'}}
Close
= t('.close')
%i.ofn-i_009-close
.cart-content
%table
@@ -29,6 +29,6 @@
{{ Cart.total() | localizeCurrency }}
%button.large.dark.left{href: main_app.cart_path, "ng-disabled" => "Cart.dirty || Cart.empty()", "ng-class" => "{ dirty: Cart.dirty }"}
= "{{ Cart.dirty ? '#{t(:cart_updating)}' : (Cart.empty() ? '#{t(:cart_empty)}' : '#{t(:cart_edit)}' ) }}"
= "{{ Cart.dirty ? '#{t(:cart_updating)}' : (Cart.empty() ? '#{t(:cart_empty)}' : '#{t('.edit_cart')}' ) }}"
%button.large.bright.right{href: main_app.checkout_path, "ng-disabled" => "Cart.dirty || Cart.empty()"}
= t '.checkout'

View File

@@ -1216,6 +1216,11 @@ en:
menu:
cart:
cart: "Cart"
cart_sidebar:
checkout: "Checkout"
edit_cart: "Edit cart"
items_in_cart: "%{num} items in your cart"
close: "Close"
signed_in:
profile: "Profile"
mobile_menu: