fix some small i18n errors
This commit is contained in:
parent
ec1ef0289b
commit
24d04b25db
3 changed files with 3 additions and 1 deletions
|
@ -97,7 +97,7 @@ class OrdersController < ApplicationController
|
||||||
def finish
|
def finish
|
||||||
order = Order.find(params[:id])
|
order = Order.find(params[:id])
|
||||||
order.finish!(@current_user)
|
order.finish!(@current_user)
|
||||||
redirect_to order, notice: I18n.t('order.finish.notice')
|
redirect_to order, notice: I18n.t('orders.finish.notice')
|
||||||
end
|
end
|
||||||
|
|
||||||
# Renders the fax-text-file
|
# Renders the fax-text-file
|
||||||
|
|
|
@ -117,3 +117,4 @@ de:
|
||||||
# used by model
|
# used by model
|
||||||
model:
|
model:
|
||||||
error_in_use: '%{article} kann nicht gelöscht werden. Der Artikel befindet sich in einer laufenden Bestellung!'
|
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'
|
||||||
|
|
|
@ -114,3 +114,4 @@ en:
|
||||||
# used by model
|
# used by model
|
||||||
model:
|
model:
|
||||||
error_in_use: '%{article} can not be deleted because the article is part of a current order!'
|
error_in_use: '%{article} can not be deleted because the article is part of a current order!'
|
||||||
|
error_nosel: 'You have selected no articles'
|
||||||
|
|
Loading…
Reference in a new issue