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 supplier = order.supplier
contact = FoodsoftConfig[:contact].symbolize_keys contact = FoodsoftConfig[:contact].symbolize_keys
text = I18n.t('orders.fax.heading', :name => FoodsoftConfig[:name]) 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" + 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 += "****** " + I18n.t('orders.fax.to_address') + "\n\n"
text += "#{FoodsoftConfig[:name]}\n#{contact[:street]}\n#{contact[:zip_code]} #{contact[:city]}\n\n" text += "#{FoodsoftConfig[:name]}\n#{contact[:street]}\n#{contact[:zip_code]} #{contact[:city]}\n\n"
text += "****** " + I18n.t('orders.fax.articles') + "\n\n" text += "****** " + I18n.t('orders.fax.articles') + "\n\n"

View file

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

View file

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

View file

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

View file

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