diff --git a/app/views/stock_takings/_stock_change.html.haml b/app/views/stock_takings/_stock_change.html.haml index 3d27c1fa..0f016aa9 100644 --- a/app/views/stock_takings/_stock_change.html.haml +++ b/app/views/stock_takings/_stock_change.html.haml @@ -1,7 +1,8 @@ %p = simple_fields_for "stock_taking[stock_change_attributes][]", stock_change do |form| = form.hidden_field :stock_article_id - = "Menge (#{stock_change.stock_article.quantity_available})" + = t '.amount' + (#{stock_change.stock_article.quantity_available}) = form.text_field :quantity, :size => 5, :autocomplete => 'off' %span{:data => {:toggle => :tooltip, :title => render(:partial => 'shared/article_price_info', :locals => {:article => stock_change.stock_article})}} %b= stock_change.stock_article.name diff --git a/config/locales/de.yml b/config/locales/de.yml index a1a06ebc..ce4d7a79 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1392,6 +1392,7 @@ de: new_inventory: Neue Inventur anlegen title: Inventurübersicht new: + amount: Menge create: anlegen stock_articles: Lagerartikel temp_inventory: vorläufigen Lagerbestand diff --git a/config/locales/en.yml b/config/locales/en.yml index 17f9dc61..13c5299c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1398,6 +1398,7 @@ en: new_inventory: Create new inventory title: Inventory overview new: + amount: Amount create: create stock_articles: Stock articles temp_inventory: temporary inventory