fix some small i18n errors

This commit is contained in:
wvengen 2013-04-04 00:56:45 +02:00
parent ec1ef0289b
commit 24d04b25db
3 changed files with 3 additions and 1 deletions

View file

@ -97,7 +97,7 @@ class OrdersController < ApplicationController
def finish
order = Order.find(params[:id])
order.finish!(@current_user)
redirect_to order, notice: I18n.t('order.finish.notice')
redirect_to order, notice: I18n.t('orders.finish.notice')
end
# Renders the fax-text-file

View file

@ -117,3 +117,4 @@ de:
# used by model
model:
error_in_use: '%{article} kann nicht gelöscht werden. Der Artikel befindet sich in einer laufenden Bestellung!'
error_nosel: 'Du hast keine Artikel ausgewählt'

View file

@ -114,3 +114,4 @@ en:
# used by model
model:
error_in_use: '%{article} can not be deleted because the article is part of a current order!'
error_nosel: 'You have selected no articles'