finish finance/order_articles i18n + en translation

This commit is contained in:
wvengen 2013-03-08 23:35:50 +01:00
parent c9b2d01fa5
commit b81f414ae5
4 changed files with 18 additions and 8 deletions

View file

@ -1,7 +1,7 @@
= simple_form_for [:finance, @order, @order_article], remote: true do |form|
.modal-header
= button_tag "x", class: 'close', data: {dismiss: 'modal'}
%h3 Artikel aktualisieren
= button_tag t('ui.marks.close'), class: 'close', data: {dismiss: 'modal'}
%h3= t '.title'
.modal-body
= form.input :units_to_order
@ -18,5 +18,5 @@
= form.input :update_current_price, as: :boolean
.modal-footer
= button_tag "Schließen", class: 'btn', data: {dismiss: 'modal'}
= button_tag t('ui.close'), class: 'btn', data: {dismiss: 'modal'}
= form.submit class: 'btn btn-primary'

View file

@ -1,9 +1,9 @@
= simple_form_for [:finance, @order, @order_article], remote: true do |form|
.modal-header
= button_tag "x", class: 'close', data: {dismiss: 'modal'}
%h3 Neuer gelieferter Artikel die Bestellung
= button_tag t('ui.marks.close'), class: 'close', data: {dismiss: 'modal'}
%h3= t '.title'
.modal-body
= form.input :article_id, as: :select, collection: new_order_articles_collection
.modal-footer
= button_tag "Schließen", class: 'btn', data: {dismiss: 'modal'}
= button_tag t('ui.close'), class: 'btn', data: {dismiss: 'modal'}
= form.submit class: 'btn btn-primary'

View file

@ -166,6 +166,11 @@ de:
linked: "Diese Rechnung ist mit einer %{what_link} verknüpft."
delivery: "Lieferung"
back: "Züruck"
order_articles:
edit:
title: 'Artikel aktualisieren'
new:
title: 'Neuer gelieferter Artikel die Bestellung'
# used by controller
create:

View file

@ -166,6 +166,11 @@ en:
linked: "This invoice is linked to a %{what_link}."
delivery: "delivery"
back: "Back"
order_articles:
edit:
title: 'Update article'
new:
title: 'Add delivered article to order'
# used by controller
create: