i18n and translate missing entry

This commit is contained in:
wvengen 2013-06-15 18:43:42 +02:00
parent 8c08de9eae
commit 713c030213
4 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Order < ActiveRecord::Base
end
def name
stockit? ? "Lager" : supplier.name
stockit? ? I18n.t('orders.model.stock') : supplier.name
end
def articles_for_ordering

View File

@ -1310,6 +1310,7 @@ de:
error_nosel: Es muss mindestens ein Artikel ausgewählt sein
error_starts_before_ends: muss nach dem Bestellstart liegen (oder leer bleiben)
notice_close: ! 'Bestellung: %{name}, bis %{ends}'
stock: Lager
new:
title: Neue Bestellung anlegen
orders:

View File

@ -1313,6 +1313,7 @@ en:
error_nosel: At least one article must be selected
error_starts_before_ends: must be after the start date (or remain empty)
notice_close: ! 'Order: %{name}, until %{ends}'
stock: Stock
new:
title: Create new order
orders:

View File

@ -1188,6 +1188,7 @@ nl:
error_nosel:
error_starts_before_ends:
notice_close:
stock: Voorraad
new:
title:
orders: