i18n group order articles
This commit is contained in:
parent
640e9799aa
commit
d2cd5b2b02
2 changed files with 8 additions and 3 deletions
|
@ -2,10 +2,10 @@
|
||||||
= form.hidden_field :order_article_id
|
= form.hidden_field :order_article_id
|
||||||
.modal-header
|
.modal-header
|
||||||
= button_tag "x", class: 'close', data: {dismiss: 'modal'}
|
= button_tag "x", class: 'close', data: {dismiss: 'modal'}
|
||||||
%h3 Mengenänderung für #{@order_article.article.name}
|
%h3= t('.amount_change_for', article: @order_article.article.name)
|
||||||
.modal-body
|
.modal-body
|
||||||
= form.input :ordergroup_id, as: :select, collection: Ordergroup.all.map { |g| [g.name, g.id] }
|
= form.input :ordergroup_id, as: :select, collection: Ordergroup.all.map { |g| [g.name, g.id] }
|
||||||
= form.input :result, hint: "Einheit: #{@order_article.article.unit}"
|
= form.input :result, hint: "Einheit: #{@order_article.article.unit}"
|
||||||
.modal-footer
|
.modal-footer
|
||||||
= button_tag "Schließen", class: 'btn', data: {dismiss: 'modal'}
|
= button_tag t('.close'), class: 'btn', data: {dismiss: 'modal'}
|
||||||
= form.submit "Speichern", class: 'btn btn-primary'
|
= form.submit t('.save'), class: 'btn btn-primary'
|
|
@ -129,4 +129,9 @@ de:
|
||||||
title: "Neue Transaktion"
|
title: "Neue Transaktion"
|
||||||
paragraph: 'Hier kannst du der Bestellgruppe <b>%{name}</b> Geld gutschreiben/abziehen.'
|
paragraph: 'Hier kannst du der Bestellgruppe <b>%{name}</b> Geld gutschreiben/abziehen.'
|
||||||
or_cancel: "oder abbrechen"
|
or_cancel: "oder abbrechen"
|
||||||
|
group_order_articles:
|
||||||
|
form:
|
||||||
|
amount_change_for: 'Mengenänderung für %{article}'
|
||||||
|
close: 'Schließen'
|
||||||
|
save: "Speichern"
|
||||||
|
|
Loading…
Reference in a new issue