Merge branch 'master' into updated-gems

Conflicts:
	Gemfile.lock
This commit is contained in:
wvengen 2013-07-18 20:28:56 +02:00
commit b9599ce455
22 changed files with 342 additions and 117 deletions

View file

@ -31,7 +31,7 @@ module Foodsoft
# Internationalization.
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
config.i18n.default_locale = :de
config.i18n.default_locale = :en
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"

View file

@ -465,11 +465,11 @@ de:
title_articles: Artikel
unit: Einheit
stock_article_for_adding:
action_add_to_delivery: 'Liefern'
action_edit: 'Bearbeiten'
action_other_price: 'Kopieren'
action_add_to_delivery: Liefern
action_edit: Bearbeiten
action_other_price: Kopieren
stock_article_form:
copy_stock_article: 'Lagerartikel kopieren'
copy_stock_article: Lagerartikel kopieren
stock_change_fields:
remove_article: Artikel aus Lieferung entfernen
suppliers_overview: Lieferantenübersicht
@ -1179,14 +1179,6 @@ de:
redirect: Weiterleiting auf [[%{title}]]...
user:
no_ordergroup: keine Bestellgruppe
notify:
email_is_public: E-Mail ist für Mitglieder sichtbar
name_is_public: Name ist für Mitglieder sichtbar
negative_balance: Informiere mich, falls meine Bestellgruppe ins Minus rutscht.
order_finished: Informier mich über meine Bestellergebnisse (nach Ende der Bestellung).
phone_is_public: Telefon ist für Mitglieder sichtbar
send_as_email: Bekomme Nachrichten als Emails.
upcoming_tasks: Erinnere mich an anstehende Aufgaben.
navigation:
admin:
home: Übersicht
@ -1534,11 +1526,11 @@ de:
units_to_order: Anzahl gelieferter Gebinde
update_current_price: Ändert auch den Preis für aktuelle Bestellungen
stock_article:
supplier:
copy_stock_article:
name: Bitte ändern
edit_stock_article:
price: ! '<ul><li>Preisänderung gesperrt.</li><li>Bei Bedarf %{stock_article_copy_link}.</li></ul>'
price: <ul><li>Preisänderung gesperrt.</li><li>Bei Bedarf %{stock_article_copy_link}.</li></ul>
supplier:
supplier:
min_order_quantity: Die Mindestbestellmenge wird während der Bestellung angezeigt und soll motivieren
task:
@ -1613,6 +1605,21 @@ de:
page:
body: Inhalt
parent_id: Oberseite
settings:
messages:
send_as_email: Bekomme Nachrichten als Emails.
notify:
negative_balance: Informiere mich, falls meine Bestellgruppe ins Minus rutscht.
order_finished: Informier mich über meine Bestellergebnisse (nach Ende der Bestellung).
upcoming_tasks: Erinnere mich an anstehende Aufgaben.
profile:
email_is_public: E-Mail ist für Mitglieder sichtbar.
language: Sprache
name_is_public: Name ist für Mitglieder sichtbar.
phone_is_public: Telefon ist für Mitglieder sichtbar.
settings_group:
messages: Nachrichten
privacy: Privatsphäre
stock_article:
supplier: Lieferant
supplier:
@ -1656,6 +1663,13 @@ de:
role_orders: Bestellverwaltung
role_suppliers: Lieferanten
'no': Nein
options:
settings:
profile:
language:
de: Deutsch
en: English
nl: Niederländisch
required:
mark: ! '*'
text: benötigt
@ -1858,7 +1872,7 @@ de:
history: Verlauf anzeigen
marks:
close: ! '&times;'
success: ! '<i class="icon icon-ok"></i>'
success: <i class="icon icon-ok"></i>
or_cancel: oder abbrechen
please_wait: Bitte warten...
save: Speichern

View file

@ -426,7 +426,7 @@ en:
year: years
deliveries:
add_stock_change:
how_many_units: 'How many units (%{unit}) to deliver? Stock article name: %{name}.'
how_many_units: ! 'How many units (%{unit}) to deliver? Stock article name: %{name}.'
create:
notice: Delivery was created. Please dont forget to create invoice!
create_stock_article:
@ -439,8 +439,8 @@ en:
actions: Tasks
article: Article
category: Category
copy_order_article: Copy order article
new_stock_article: Create new stock article
create_from_blank: Create new article
create_stock_article: Create stock articles
price: Netprice
quantity: Quantity
title_fill_quantities: 2. Set delivery quantities
@ -467,11 +467,11 @@ en:
title_articles: Article
unit: Unit
stock_article_for_adding:
action_add_to_delivery: 'Add to delivery'
action_edit: 'Edit'
action_other_price: 'Copy'
action_add_to_delivery: Add to delivery
action_edit: Edit
action_other_price: Copy
stock_article_form:
copy_stock_article: 'Lagerartikel kopieren'
copy_stock_article: Copy stock article
stock_change_fields:
remove_article: Remove article from delivery
suppliers_overview: Supplier overview
@ -1181,14 +1181,6 @@ en:
redirect: Redirect to [[%{title}]]...
user:
no_ordergroup: no order group
notify:
email_is_public: Email is visible for other members.
name_is_public: Name is visible for other members.
negative_balance: inform me when by order group has a negative balance.
order_finished: Inform me about my order result (when the order is closed).
phone_is_public: Phone number is visible for other members.
send_as_email: Receive messages as emails.
upcoming_tasks: Remind me of upcoming tasks.
navigation:
admin:
home: Overview
@ -1536,11 +1528,11 @@ en:
units_to_order: Amount of delivered units
update_current_price: Also update the price of the current order
stock_article:
supplier:
copy_stock_article:
name: Please modify
edit_stock_article:
price: ! '<ul><li>Price changes are forbidden.</li><li>If necessary, %{stock_article_copy_link}.</li></ul>'
price: <ul><li>Price changes are forbidden.</li><li>If necessary, %{stock_article_copy_link}.</li></ul>
supplier:
supplier:
min_order_quantity: The minimum amount which has to be orderd will be shown during the order process and should motivate ordering
task:
@ -1615,6 +1607,21 @@ en:
page:
body: Body
parent_id: Parent page
settings:
messages:
send_as_email: Receive messages as emails.
notify:
negative_balance: Inform me when my order group has a negative balance.
order_finished: Inform me about my order result (when the order is closed).
upcoming_tasks: Remind me of upcoming tasks.
profile:
email_is_public: Email is visible for other members.
language: Language
name_is_public: Name is visible for other members.
phone_is_public: Phone number is visible for other members.
settings_group:
messages: Messages
privacy: Privacy
stock_article:
supplier: Supplier
supplier:
@ -1658,6 +1665,13 @@ en:
role_orders: Order management
role_suppliers: Suppliers
'no': 'No'
options:
settings:
profile:
language:
de: German
en: English
nl: Dutch
required:
mark: ! '*'
text: required
@ -1860,7 +1874,9 @@ en:
history: Show history
marks:
close: ! '&times;'
success: <i class="icon icon-ok"></i>
or_cancel: or cancel
please_wait: Please wait...
save: Save
show: Show
views:

View file

@ -39,6 +39,8 @@ nl:
article_category: categorie
availability: Artikel leverbaar?
deposit: statiegeld
fc_price:
fc_share:
gross_price: bruto prijs
price: netto prijs
tax: BTW
@ -421,20 +423,28 @@ nl:
second: seconden
year: jaren
deliveries:
add_stock_change:
how_many_units:
create:
notice:
create_stock_article:
notice:
destroy:
notice:
edit:
title:
form:
add_article:
new_article:
search:
title:
note_new_article:
note_new_article_link:
remove_article:
actions:
article:
category:
create_from_blank:
create_stock_article:
price:
quantity:
title_fill_quantities:
title_finish_delivery:
title_select_stock_articles:
unit:
index:
confirm_delete:
new_delivery:
@ -454,11 +464,19 @@ nl:
title:
title_articles:
unit:
stock_change:
stock_article_for_adding:
action_add_to_delivery:
action_edit:
action_other_price:
stock_article_form:
copy_stock_article:
stock_change_fields:
remove_article:
suppliers_overview:
update:
notice:
update_stock_article:
notice:
documents:
order_by_articles:
filename:
@ -1044,6 +1062,8 @@ nl:
subject:
title:
model:
delivery:
each_stock_article_must_be_unique:
membership:
no_admin_delete:
order_article:
@ -1052,14 +1072,6 @@ nl:
redirect:
user:
no_ordergroup:
notify:
email_is_public:
name_is_public:
negative_balance:
order_finished: Informeer me over mijn bestelresultaat (wanneer de bestelling gesloten wordt).
phone_is_public:
send_as_email:
upcoming_tasks:
navigation:
admin:
home: Overzicht
@ -1405,6 +1417,10 @@ nl:
units_to_order:
update_current_price:
stock_article:
copy_stock_article:
name:
edit_stock_article:
price:
supplier:
supplier:
min_order_quantity:
@ -1480,6 +1496,21 @@ nl:
page:
body:
parent_id:
settings:
messages:
send_as_email: Berichten als emails ontvangen.
notify:
negative_balance: Informeer me wanneer mijn huishouden een negatief saldo krijgt.
order_finished: Informeer me over mijn bestelresultaat (wanneer de bestelling gesloten wordt).
upcoming_tasks: Herinner me aan aankomende taken.
profile:
email_is_public: E-mail is zichtbaar voor andere leden.
language: Taal
name_is_public: Naam is zichtbaar voor andere leden.
phone_is_public: Telefoonnummer is zichtbaar voor andere leden.
settings_group:
messages: Berichten
privacy: Privacy
stock_article:
supplier:
supplier:
@ -1523,6 +1554,13 @@ nl:
role_orders:
role_suppliers: Leveranciers
'no': Nee
options:
settings:
profile:
language:
de: Duits
en: Engels
nl: Nederlands
required:
mark: ! '*'
text: verplicht
@ -1725,7 +1763,9 @@ nl:
history:
marks:
close: ! '&times;'
success:
or_cancel: of annuleren
please_wait:
save: Opslaan
show: Tonen
views:

View file

@ -8,6 +8,7 @@ Foodsoft::Application.routes.draw do
root :to => redirect("/#{FoodsoftConfig.scope}")
scope '/:foodcoop' do
# Root path
@ -187,7 +188,7 @@ Foodsoft::Application.routes.draw do
############## Feedback
resource :feedback, :only => [:new, :create], :controller => 'feedback'
############## The rest
resources :users, :only => [:index]