finish stockit i18n + controllers + model

This commit is contained in:
wvengen 2013-02-11 11:19:26 +01:00
parent 0065c44b74
commit a0a974b9ce
8 changed files with 79 additions and 34 deletions

View file

@ -11,11 +11,11 @@ class StockTakingsController < ApplicationController
end
def create
create!(:notice => "Inventur wurde erfolgreich angelegt.")
create!(:notice => I18n.t('stockit.stock_taking_create.notice'))
end
def update
update!(:notice => "Inventur wurde aktualisiert.")
update!(:notice => I18n.t('stockit.stock_taking_update.notice'))
end
def fill_new_stock_article_form