small i18n move

This commit is contained in:
wvengen 2013-10-09 22:29:19 +02:00
parent dce92b9d7c
commit 762292ef8e
5 changed files with 4 additions and 8 deletions

View File

@ -107,9 +107,9 @@ class OrdersController < ApplicationController
supplier = order.supplier
contact = FoodsoftConfig[:contact].symbolize_keys
text = I18n.t('orders.fax.heading', :name => FoodsoftConfig[:name])
text += "\n" + I18n.t('orders.fax.customer_number') + ': #{supplier.customer_number}' unless supplier.customer_number.blank?
text += "\n#{Supplier.human_attribute_name(:customer_number)}: #{supplier.customer_number}" unless supplier.customer_number.blank?
text += "\n" + I18n.t('orders.fax.delivery_day')
text += "\n\n#{supplier.name}\n#{supplier.address}\n" + I18n.t('simple_form.labels.supplier.fax') + ": #{supplier.fax}\n\n"
text += "\n\n#{supplier.name}\n#{supplier.address}\n#{Supplier.human_attribute_name(:fax)}: #{supplier.fax}\n\n"
text += "****** " + I18n.t('orders.fax.to_address') + "\n\n"
text += "#{FoodsoftConfig[:name]}\n#{contact[:street]}\n#{contact[:zip_code]} #{contact[:city]}\n\n"
text += "****** " + I18n.t('orders.fax.articles') + "\n\n"

View File

@ -1307,7 +1307,6 @@ de:
fax:
amount: Menge
articles: Artikel
customer_number: Kundennummer
delivery_day: Liefertag
heading: Bestellung für %{name}
name: Name

View File

@ -1320,7 +1320,6 @@ en:
fax:
amount: Amount
articles: Articles
customer_number: Customer number
delivery_day: Delivery day
heading: Order for %{name}
name: Name
@ -1652,7 +1651,7 @@ en:
supplier:
address: Address
contact_person: Contact person
customer_number: Customer ID
customer_number: Customer number
delivery_days: Delivery days
email: Email
fax: Fax

View File

@ -1307,7 +1307,6 @@ fr:
fax:
amount: Quantité
articles: Articles
customer_number: Numéro de client de la coop
delivery_day: Jour de livraison
heading: Commande pour %{name}
name: Nom

View File

@ -1235,7 +1235,6 @@ nl:
fax:
amount: Aantal
articles: Artikelen
customer_number: Klantnummer
delivery_day: Bezorgdag
heading: Bestelling voor %{name}
name: Naam
@ -1575,7 +1574,7 @@ nl:
supplier:
address:
contact_person:
customer_number:
customer_number: Klantnummer
delivery_days: Bezorgdagen
email:
fax: