i18n simple_form move of suppliers

This commit is contained in:
wvengen 2013-10-09 23:12:26 +02:00
parent 78c81b194c
commit c3d22e883d
5 changed files with 53 additions and 52 deletions

View file

@ -6,9 +6,9 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%th= t 'simple_form.labels.supplier.name' %th= heading_helper Supplier, :name
%th= t 'simple_form.labels.supplier.phone' %th= heading_helper Supplier, :phone
%th= t 'simple_form.labels.supplier.customer_number' %th= heading_helper Supplier, :customer_number, short: true
%th %th
%th %th
%th %th

View file

@ -4,11 +4,11 @@
%table.table.table-striped %table.table.table-striped
%thead %thead
%tr %tr
%th= t 'simple_form.labels.supplier.name' %th= heading_helper Supplier, :name
%th= t 'simple_form.labels.supplier.address' %th= heading_helper Supplier, :address
%th= t 'simple_form.labels.supplier.note' %th= heading_helper Supplier, :note
%th= t 'simple_form.labels.supplier.delivery_days' %th= heading_helper Supplier, :delivery_days
%th= t 'simple_form.labels.supplier.is_subscribed' %th= heading_helper Supplier, :is_subscribed
%tbody %tbody
- for shared_supplier in @shared_suppliers - for shared_supplier in @shared_suppliers
%tr %tr

View file

@ -7,29 +7,29 @@
= t 'suppliers.shared_supplier_note' = t 'suppliers.shared_supplier_note'
%dl.dl-horizontal %dl.dl-horizontal
%dt= t('simple_form.labels.supplier.address') + ':' %dt= heading_helper(Supplier, :address) + ':'
%dd= @supplier.address %dd= @supplier.address
%dt= t('simple_form.labels.supplier.phone') + ':' %dt= heading_helper(Supplier, :phone) + ':'
%dd= @supplier.phone %dd= @supplier.phone
%dt= t('simple_form.labels.supplier.phone2') + ':' %dt= heading_helper(Supplier, :phone2) + ':'
%dd= @supplier.phone2 %dd= @supplier.phone2
%dt= t('simple_form.labels.supplier.fax') + ':' %dt= heading_helper(Supplier, :fax) + ':'
%dd= @supplier.fax %dd= @supplier.fax
%dt= t('simple_form.labels.supplier.email') + ':' %dt= heading_helper(Supplier, :email) + ':'
%dd= @supplier.email %dd= @supplier.email
%dt= t('simple_form.labels.supplier.url') + ':' %dt= heading_helper(Supplier, :url) + ':'
%dd= link_to @supplier.url, @supplier.url %dd= link_to @supplier.url, @supplier.url
%dt= t('simple_form.labels.supplier.contact_person') + ':' %dt= heading_helper(Supplier, :contact_person) + ':'
%dd= @supplier.contact_person %dd= @supplier.contact_person
%dt= t('simple_form.labels.supplier.customer_number') + ':' %dt= heading_helper(Supplier, :customer_number) + ':'
%dd= @supplier.customer_number %dd= @supplier.customer_number
%dt= t('simple_form.labels.supplier.delivery_days') + ':' %dt= heading_helper(Supplier, :delivery_days) + ':'
%dd= @supplier.delivery_days %dd= @supplier.delivery_days
%dt= t('simple_form.labels.supplier.order_howto') + ':' %dt= heading_helper(Supplier, :order_howto) + ':'
%dd= @supplier.order_howto %dd= @supplier.order_howto
%dt= t('simple_form.labels.supplier.note') + ':' %dt= heading_helper(Supplier, :note) + ':'
%dd= @supplier.note %dd= @supplier.note
%dt= t('simple_form.labels.supplier.min_order_quantity') + ':' %dt= heading_helper(Supplier, :min_order_quantity) + ':'
%dd= @supplier.min_order_quantity %dd= @supplier.min_order_quantity
.clearfix .clearfix
@ -43,8 +43,8 @@
%table.table.table-horizontal %table.table.table-horizontal
%thead %thead
%tr %tr
%th= t 'simple_form.labels.defaults.date' %th= heading_helper Delivery, :date
%th= t 'simple_form.labels.defaults.amount' %th= heading_helper Delivery, :amount
%tbody %tbody
- for delivery in @deliveries - for delivery in @deliveries
%tr %tr

View file

@ -51,6 +51,22 @@ de:
note: Notiz note: Notiz
stock_article: stock_article:
price: Nettopreis price: Nettopreis
supplier:
address: Adresse
contact_person: Ansprechparter_in
customer_number: Kundennummer
customer_number_short: Kundennr.
delivery_days: Liefertage
email: Email
fax: FAX
is_subscribed: abonniert?
min_order_quantity: Mindestbestellmenge
name: Name
note: Notiz
order_howto: Howto Bestellen
phone: Telefon
phone2: Telefon 2
url: Homepage
user: user:
email: Email email: Email
first_name: Vorname first_name: Vorname
@ -1654,21 +1670,6 @@ de:
privacy: Privatsphäre privacy: Privatsphäre
stock_article: stock_article:
supplier: Lieferant supplier: Lieferant
supplier:
address: Adresse
contact_person: Ansprechparter_in
customer_number: Kundennummer
delivery_days: Liefertage
email: Email
fax: FAX
is_subscribed: abonniert?
min_order_quantity: Mindestbestellmenge
name: Name
note: Notiz
order_howto: Howto Bestellen
phone: Telefon
phone2: Telefon 2
url: Homepage
task: task:
done: Erledigt? done: Erledigt?
due_date: Wann erledigen? due_date: Wann erledigen?

View file

@ -62,6 +62,21 @@ en:
note: note note: note
stock_article: stock_article:
price: Price price: Price
supplier:
address: Address
contact_person: Contact person
customer_number: Customer number
delivery_days: Delivery days
email: Email
fax: Fax
is_subscribed: subscribed?
min_order_quantity: Minimum order quantity
name: Name
note: Note
order_howto: How to order
phone: Phone
phone2: Phone 2
url: Homepage
task: task:
done: Done? done: Done?
due_date: Due date due_date: Due date
@ -1665,21 +1680,6 @@ en:
privacy: Privacy privacy: Privacy
stock_article: stock_article:
supplier: Supplier supplier: Supplier
supplier:
address: Address
contact_person: Contact person
customer_number: Customer number
delivery_days: Delivery days
email: Email
fax: Fax
is_subscribed: subscribed?
min_order_quantity: Minimum order quantity
name: Name
note: Note
order_howto: How to order
phone: Phone
phone2: Phone 2
url: Homepage
workgroup: workgroup:
next_weekly_tasks_number: For how many weeks in advance would you like to define tasks? next_weekly_tasks_number: For how many weeks in advance would you like to define tasks?
role_admin: Administration role_admin: Administration